On Sat, Jun 16, 2018 at 02:05:33PM +0200, Arie van Wingerden wrote: > # Read STDIN till EOF > > : (setq Var (in NIL (till NIL T))) > This is a line > a peaceful line > it is not drunk > it drinks no wine > # Here I pressed ctrl+d which forces PicoLisp to end > > As discussed earlier you cannot simulate an EOF from STDIN. > So, why then such example. It seems not useful at all...
No, it is useful in *scripts*. It is only the interactive REPL which interferes with STDIN. ♪♫ Alex -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
