Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ptdecker

#1
newLISP and the O.S. /
May 02, 2005, 08:24:34 AM
Thank you, Lutz!   Don't we all just love Windows!   BTW--Everything works fine as far as I can tell under OS X on my Mac.
#2
Anything else we might add? /
April 29, 2005, 03:07:57 PM
Yes, your suggestion works fine.   Thank you.



Also, the "Differences" FAQ is most helpful.   Somehow, missed the link to it the first time I went through the general FAQ.



P. Todd
#3
I'm working through Peter Seibel's Practical Common Lisp book using NewLisp as my environment (at least at work where I'm stuck with windows).  Anyway, early on he provides an example to print the proverbial Hello World (from his book):
> (format t "hello, world")
hello, world
nil

I quickly figured out that NewLisp wants a format string in place of the "t", so I tried:
> (format "%s" "hello, world")
"hello, world"
>

This is great, but the point of the excercise was to get rid of the quotes in the output stream.



Any hints on how to do this in NewLisp?  I couldn't find a thread on quotes in the forum and the NewLisp manual section on Format doesn't discuss the topic.



And, is there a FAQ that illustrates the differences between NewLisp and Common Lisp?



P. Todd
#4
newLISP and the O.S. /
April 29, 2005, 01:28:57 PM
I was able to correct this problem by editting the newlisp-tk.config file and replacing the incorrect for Windows "/" directory delimiters with ""; however, newLisp seems to interprute "" as an escape code as in C, so I actually had to use "\", e.g. "C:\Program Files\newlisp".   This works like a charm.   Seems the "Save Settings" option within tk doesn't handle the path delimiter properly for Windows.



P. Todd