Page 1 of 1

Convert list to string

Posted: Fri Jun 24, 2016 5:55 am
by sigipa
Hello All,

What is the best way to convert a list to a string in newLISP? In CL I would just use format, but it doesn't appear to work in in this case. I just want to send the output from an exec function in an email body.

Thanks,
-S

Re: Convert list to string

Posted: Fri Jun 24, 2016 6:29 am
by ralph.ronnquist

Code: Select all

(string x)
Check out http://www.newlisp.org/downloads/manual_frame.html
If you search

Code: Select all

: (blah
it'll position you at the documentation for function blah (well, though only for the functions it has), and it has a nicely grouped index to the left as well.