(April 1999)Why comment? In the lifecycle of a program there will be times when it is necessary to make changes, comments should be viewed as a revision and quality control function. Comments should only be written to aid in the later modification of the program or to find out what version of a particular program or function is currently being used. A good comment states … [Read more...] about AutoLISP Lesson 3 – COMMENTS
AutoLISP Tutorials
AutoLISP Lesson 2 – THE AutoLISP ENVIRONMENT
(April 1999)The AutoLISP environment is entered when AutoCAD receives a "(" symbol at the command line. When AutoCAD sees the opening parentheses, it runs the AutoLISP interpreter. The interpreter then evaluates, as a list, what is between the opening "(" symbol and the closing ")" symbol.Data typesThere are three basic data types in AutoLISP. They are functions, symbols, and … [Read more...] about AutoLISP Lesson 2 – THE AutoLISP ENVIRONMENT
AutoLISP Lesson 1 – Introduction to Lisp Programming
(April 1999)AutoLISP is a dialect of the LISP programming language (LISt Processing). LISP is the oldest high-level programming language, second only to FORTRAN. LISP has been the language of choice for the artificial intelligence in robotics. It is built into AutoCAD.What is a program? A program is a list of instructions for your computer to carry out.What you need? To program … [Read more...] about AutoLISP Lesson 1 – Introduction to Lisp Programming