I suppose there is no progn
Posted: Thu May 14, 2009 4:18 am
For expressions that need to be evaluated sequentially in newLisp, there is no progn special form that says "evaluate these and return the last".
So how do I make code like this valid?
It seems to execute the forms correctly, except that at the end of executing the forms it says "ERR: value expected: (whatever the last form was)"
So how do I make code like this valid?
Code: Select all
(if (expr)
((eval 1) (eval 2) (eval3))
(eval4))