[plt-scheme] Load and require in PLT
I used this load trick in script that has minimally evolved since
1995 when I first wrote it. What's the problem? Looks fine.
On Jun 10, 2009, at 10:24 AM, N T wrote:
> Hi guys,
> I am trying to find an equivalent way to run the following test.scm
> script with mzscheme.
> I would like to to keep s as a variable, so that it could be passed as
> a command-line argument.
> (require "parameters.scm") works in mzscheme while (require s) does
> not. From what i gathered from reading the plt archives using units
> could be the way to do it ...
> Help will be very much appreciated!
> Nik
>
> csi test.scm
>
> ;; test.scm
> (define s "parameters.scm")
> (load s)
> (display x)
>
>
> ;; parameters.scm
> (define x 1)
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme