Exercises

For each of the following expressions try to predict what the evaluator will return. Then type them in, see what happens and try to explain any differences.
  1. "2D (+ 3 5 6)
  2. "2D (+ (- 1 2) 3)
  3. "2D '(+ 3 5 6)
  4. "2D '( + (- 1 2) 3)
  5. "2D (+ (- (* 2 3) (/ 6 2)) 7)
  6. "2D 'x
Remember, to quit from XLISP-STAT choose Quit from the File menu or type "2D (exit).