The following code: (include (string-append "/home/x/opengl/macro/" "forever.scm")) gives me: *** ERROR IN "blah.scm"@24.10 -- Filename expected is there anyway to do any type of computation to an 'include' ? If not, how else do I load in files that have macros? (having macros implies I can't use load right?) Thanks!
Afficher les réponses par date
(define-macro (include-library-file file-path) `(include ,(path-expand file-path "/home/x/opengl/macro/"))) (include-library-file "forever.scm") On Sat, Apr 4, 2009 at 8:46 PM, lowly coder <lowlycoder@huoyanjinjing.com> wrote:
The following code:
(include (string-append "/home/x/opengl/macro/" "forever.scm"))
gives me:
*** ERROR IN "blah.scm"@24.10 -- Filename expected
is there anyway to do any type of computation to an 'include' ?
If not, how else do I load in files that have macros?
(having macros implies I can't use load right?)
Thanks!
_______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
participants (2)
-
Frederick LeMaster -
lowly coder