[prev in list] [next in list] [prev in thread] [next in thread] 

List:       racket-users
Subject:    [plt-scheme] Exe compilation
From:       eli () barzilay ! org (Eli Barzilay)
Date:       2006-06-22 23:12:07
Message-ID: 17563.9159.217617.503942 () lithuanian ! ccs ! neu ! edu
[Download RAW message or body]

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!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic