Re: The 'read' function w/arguments

2010-06-03 Thread Alexander Burger
Hi Jon,

> (make (while (read "_" "#") (link @)))
> 
> .. I'm not able to get out of the while loop by typing NIL, as the docs

Indeed, you found a bug (thanks again!).

'NIL' is not recognized, and a new symbol with that name gets created.
This happens only in the 32-bit version, the 64-bit version behaves
correctly.

It will be fixed with the next testing release (due in a few days). For
now, please use '""' (empty string) instead of 'NIL'.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe


The 'read' function w/arguments

2010-06-02 Thread Jon Kleiser
Hi,

When I try this example from the docs ...

(make (while (read "_" "#") (link @)))

.. I'm not able to get out of the while loop by typing NIL, as the docs
imply. I have tried both with ./p and with ./dbg. I'm using a PicoLisp
from 24 April this year.

If I just do a (make (while (read) (link @))), then I can terminate by
typing NIL.

/Jon

-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe