Hi Jon,
Yes, using #!/usr/bin/picolisp instead of #!/usr/bin/pil worked fine in OSX.
In my case at the moment, however, this
#!/usr/bin/picolisp /usr/lib/picolisp/lib/misc.l
seemed to be better than .../lib.l, since the only lib function I
needed was 'stamp'.
Oh, I see. However, I would
Hi Jon,
The script was executable (-rwxr-xr-x@), but for some reason I had to replace
#!/usr/bin/pil
with this direct variant:
#!/Volumes/P3/picoLisp/bin/picolisp
Strange, since there was no problem launcing PicoLips with /usr/bin/pil
on the command line.
Is there really a 'pil' script
Hi Alex,
Hi Jon,
The script was executable (-rwxr-xr-x@), but for some reason I had to
replace
#!/usr/bin/pil
with this direct variant:
#!/Volumes/P3/picoLisp/bin/picolisp
Strange, since there was no problem launcing PicoLips with
/usr/bin/pil
on the command line.
Is there really a
Hi Alex,
The script was executable (-rwxr-xr-x@), but for some reason I had to replace
#!/usr/bin/pil
with this direct variant:
#!/Volumes/P3/picoLisp/bin/picolisp
Strange, since there was no problem launcing PicoLips with /usr/bin/pil
on the command line.
/Jon
Hi Jon,
I'll look into that
Hi Jon,
(while T
(let L (line)
(prinl Hello (pack (trim L) !) ) ) )
I haven't tried this specifically now, but I see two problems:
1. The loop
(while T
...
will never terminate. I would use
(until (eof)
...
2. The PicoLisp always interprets
Hi Alex,
Thanks!
On 13-12-13 16:08 , Alexander Burger wrote:
Hi Jon,
(while T
(let L (line)
(prinl Hello (pack (trim L) !) ) ) )
I haven't tried this specifically now, but I see two problems:
1. The loop
(while T
...
will never terminate. I would use