[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defining variables
On Fri, 16 Jul 1999 email@example.com wrote:
> Hi list subscribers,
> Just starting to use SIAG and about to attempt a functional sheet using
> scheme (guile ) for expressions . Is there a way to define variables
> using scheme? Is there a single namespace per buffer for such
For SIOD you can simply enter (define x 2) into a cell to give x the
value 2. Since Guile define doesn't return the value, you can use a kludge
like (begin (define x 2) x).
The namespaces are separate between interpreters, but not between buffers
or sheets. This is so variables can be shared between documents. To get a
new namespace, start another instance of the program.