[plt-scheme] The definition of a variable in a canvas

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Tue Apr 20 07:29:34 EDT 2004

--- "Ghib ." <ghiby48 at hotmail.com> wrote:
> I would like to write something like that in a
> canvas :
> (define L '(1 2 3))
> (define L2 '(4 5 6))
> and use this variable inside my program. 

You could simply eval the code from your canvas. 
Alternatively you could use
graphical-read-eval-print-loop if you want interactive
evaluation of your code.  If you're trying to write a
Scheme editor you should look at the PLT Framework


Email: noelwelsh <at> yahoo <dot> com
Jabber: noelw <at> jabber <dot> org

Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢

Posted on the users mailing list.