Programming Basics
EVERYTHING is surrounded by parenthesis
- Nested parenthesis is how lisp organizes its program
Uses prefix notation (a.k.a. reverse polish notation)
- Action, then noun(s) [i.e multiply 5 and 3 ? (* 5 3)]
All the lisp Functions can be entered at the AutoCAD command prompt, or saved in a text file and loaded from disk
Lisp Functions almost always return something
- Even the print command comes back and tells you what it printed