Convert list to string

Q&A's, tips, howto's
Locked
sigipa
Posts: 6
Joined: Fri Jan 30, 2015 4:06 am

Convert list to string

Post 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

ralph.ronnquist
Posts: 228
Joined: Mon Jun 02, 2014 1:40 am
Location: Melbourne, Australia

Re: Convert list to string

Post 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.

Locked