Computer Science - Artificial Intelligence - Discussion

Discussion Forum : Artificial Intelligence - Section 1 (Q.No. 38)
38.
In LISP, the function evaluates both <variable> and <object> is
set
setq
add
eva
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
1 comments Page 1 of 1.

Ilham Khan said:   5 years ago
There was no SETQ or SETF, just the SET function. What is now When the dynamic variable binding is in effect (the default), ' set' has the same effect as 'setq', apart from the fact that 'set' evaluates its SYMBOL argument whereas 'setq' does not. But when a variable is lexically bound, 'set' affects its dynamic value, whereas 'setq' affects its current (lexical) value.

Post your comments here:

Your comments will be displayed after verification.