[gambit-list] fun with include path

Frederick LeMaster fred.lemaster at gmail.com
Sun Apr 5 01:18:42 EDT 2009


(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 at 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 at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
>



More information about the Gambit-list mailing list