Page 1 of 1

[text] and [/text]

Posted: Thu Sep 11, 2003 1:32 pm
by eddier
(print [text]
<html>
</html>
[/text])

gives nilnilnilnil on Windoze, but works fine on Linux. I've downloaded the Windoze version twice but still get the same results. Does anyone else get this result on Windoze?

Eddie

Posted: Thu Sep 11, 2003 11:29 pm
by Lutz
works fine for me on win32 and cygwin versions 7.1.4. How extactly did you you test? I put your lines in a file named 'text' with an (exit) at the end:

(print [text]
<html>
</html>
[/text])
(exit)

and then do a:

newlisp test

which then will output

<html>
</htm>

Are you sure you are using the right version on Windows? Of course you cannot enter this in the console, except if you do it on one line, not multiple lines, but in a file it works fine.

Lutz

Posted: Fri Sep 12, 2003 12:37 pm
by eddier
Before I downloaded a third installation this morning, I had a file called test.lsp with

Code: Select all

(print [text]
<html>
</html>
[/text])

(exit)
It returned nilnilnilnil

The new download fixed the problem.

Eddie

Posted: Fri Sep 12, 2003 5:27 pm
by Lutz
it must have been a version, which did not have [text] tags yet and printed a 'nil' for each of the four unkown tokens / uninitialized symbols.

Lutz