[plt-scheme] Exe compilation
On Jun 22, pascal.delcombel wrote:
>
> Hi, again me with Exe compilation in a package.
>
> I developped something like this :
>
> (module AmjPAD
> mzscheme
> ;regular tools
> (load "../AmjP Tools/AmjP-Goodies.scm")
> (load "../AmjP Tools/AmjP-Hyper-Link-Window.scm")
> ; splash (about) screen
> (load "AmjPAD-splash-screen.scm")
> ;initializations
> ;error treatments
> (define (AmjPAD-error-display-handler msg exn)(display msg))
> (error-display-handler AmjPAD-error-display-handler)
> ;editor screen
> (load "AmjPAD-editor-screen.scm"))
> [...]
You should not use `load' inside modules. It does not do what you
think it would do. Use `require' instead. (You will need to read
about using modules.)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!