Message 1 of 5
Lisp programming doubts

Not applicable
03-16-2017
05:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear all
Good day 🙂
Am new to lisp programming and i need some help from you.
So i will go straight into my query..
for example
(setq a ( 12 20 23 35))
returns the value (12 20 23 35)
(subst 50 12 a)
returns the value (50 20 23 35)
my doubt is to select the entire list and what is the function used for it?
for example
(subst 1 all a)
should return the value (1) for which it was previously (12 20 23 35)
Thanks in advance
Regards,
DMC