help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using shared variables in demo functions?


From: fork
Subject: Using shared variables in demo functions?
Date: Wed, 14 Mar 2012 19:08:25 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Is there some reason shared variables can't be used in demo?  In the following,
the demo code fails with not knowing the variable ages1.  This is on 3.4.3 
mingw.

%!shared
%!   ages1 = 15:44;

%!demo
%!   ages1 + 1

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]