[gambit-list] file local defines
lowlycoder at huoyanjinjing.com
Fri Jun 26 19:35:09 EDT 2009
(magical-define x 100)
(define y (+ x 10)) ;
(load "bar") ; <-- I want this here to be a syntax error
Is there a way I make defines/variables _local_ to a single *.scm file? I
promise to not 'include it, and only 'load it. In essence, I'm looking for
the equiv of static vars in C. What I don't want to do is something like:
... all of foo.scm
; ... since there are other parts of foo.scm that I do want to be visible.
Yes, I do realize that what I'm asking for sounds like the basics of a
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gambit-list