typo in the newLISP manual? (pop)
Posted: Tue Sep 09, 2014 6:58 pm
I think I found a typo in the pop function section of the newLISP manual.
As-is, produces an invalid index error. The line should probably read
or
Is there a better place to post this? Thank you!
Code: Select all
(set 'pList '((f g) a b c "hello" d e 10))
(pop pList) → (f g)
(pop pList) → a
pList → (b c "hello" d e 10)
(pop pList 3) → d
(pop pList 100) → 10
Code: Select all
(pop pList 100)
Code: Select all
(pop pList 4) → 10
Code: Select all
(pop pList -1) → 10