[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [plt-scheme] Unbound variable in module


> 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 
 <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,


> 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!