[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [plt-scheme] Unbound variable in module
Have you tried (require "table.ss") and (module table ...)?
-- Matthias
At 17 May 2002 23:18:26 +0100, Paulo J. Matos wrote:
>
> Hi,
>
> > 1. Use make executable from within DrScheme. That should do it right.
>
> The filename is table.ss, I use make executable to create a file
> called table. The file table.ss:
> (module table
> mzscheme
> <lot of functions (defines...)>
> (provide table)
> )
>
> Then I have a file in the same directory called matrix.ss and I
> have in it:
> (require table)
>
> I get:
> require: unknown module: table
>
> If I change to:
> (require "table")
> I get:
> load-handler: file "/home/pdestroy/projects/math/srcscheme/table" does not contain a module declaration
> as expected
>
> Any ideas?
>
> Best regards,
>
> Paulo
>
> >
> > 2. Require the language explicitly that you are writing in.
> >
> > -- Matthias
> >
>
>
> --
> Paulo J. Matos : pocm(_at_)rnl.ist.utl.pt
> Instituto Superior Tecnico - Lisbon
> Software & Computer Engineering - A.I.
> - > http://www.rnl.ist.utl.pt/~pocm
> ---
> Yes, God had a deadline...
> So, He wrote it all in Lisp!