Hi,
Sorry, debug was defined in my file, I just didn't include it in the email. Now, I tried to call
gsi -:dar
like you did and it worked.
I was calling the interpreter with Schemescript Eclipse plugin with
gsi -:d-
It also works if I launch gsi from the terminal but not if I launch it from Schemescript.
Very strange... I will ask Dominique about this.
Thank you, Francois Magnan
On 14-May-07, at 4:03 PM, Marc Feeley wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 14-May-07, at 3:43 PM, François Magnan wrote:
Now comment out the call to "loop-indefinitely" in the (main) function. If you try the telnet again it will not work...
This is not the case in the MingW (WinXP) versions.
It seems I cannot start a tcp-server in a thread and still get the read-eval-print loop. Anybody can help?
It seems that the "debug" function is not defined:
% gsi -:dar Gambit Version 4.0 beta 22
(load "magnan.scm")
"/Users/feeley/gambit/magnan.scm"
12
12
- ------------- REPL is now in #<thread #2> -------------
*** ERROR IN #<procedure #3>, "magnan.scm"@8.14 -- Unbound variable: debug
If I (define debug pp) then things work fine.
Marc
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin)
iD8DBQFGSMCL//V9Zc2T/v4RAuNDAJ9YDYKvX7cVz6cA4EboxpKZ6MGulACdH7a/ 5rPmhD3G6ly/e1hOX7X49QU= =bLMh -----END PGP SIGNATURE-----