From: Andreas R. <and...@pv...> - 2009-05-06 19:53:21
|
On Tue, 5 May 2009, Timothy John Hickey wrote: > Hi Andreas, > > On May 5, 2009, at 6:10 PM, Andreas Røsdal wrote: >> Hello! >> >> I'm trying to port some scheme code from guile to jscheme, and have run >> into som problems with macros. >> >> This is the function that I would like to port to jscheme: >> (defmacro def-save-var (nm value) >> `(begin (define ,nm ,value) >> (set! variable-list (cons ',nm variable-list)))) > Here's the way to do this in Jscheme ... > > Is this part of a web-based card game? Thanks for the help, Timothy. This most likely solved my problems. I'm using JScheme in an Aisleriot card game, found here: http://cardsparc.com/ - Andreas |