CADDIT CAD CAM CNC Software - download AutoCAD compatible design software progeCAD Alibre T-FLEX and more
CADDIT Website Knowledge Base Search:

progeCAD Help

Welcome to progeCAD
Working with progeCAD
Command Reference
CAD System Variables
Programming progeCAD
Full Index (caution - 400kb)

Further Links:

Download progeCAD
Register progeCAD


T-FLEX PLM tutorial (PDF)
progeCAD IntelliCAD and AutoCAD training 
CATIA 2D 3D design tutorial
Alibre CAD/CAM basic tutorial


Educational CAD Software Solutions
Python scripting for DOS and Windows
Other free software downloads
CADDIT CAD CAM Forum Australia

(= item1 item2 ...)

Return T if they're the same.

This function tells you whether two (or more) items are equal:

    • If they are equal, the result is a T (true).
    • If not, this function returns nil (false).

If the function contains more than two items, this function returns T (true) when each item to the right is equal to the item on its left. The items can be numbers or strings.


This expression Returns
(= 8 8) T
(= 10 10.0 10) T
(= "x" "y") nil
(= "door" "door") T
(= "door" "door" "door") T
(= 10) T


    • Don't confuse the = function with the equal function. Here's the difference: The = function compares numbers and strings; the equal function compares lists.
    • Both = and equal perform comparisons; neither performs the "equals" function you might expect from arithmetic, such as 1 + 2 = 3. In LISP, that service is provided by the setq function.

(/= item1 item2 ...)

(< item1 item2 ...)

(<= item1 item2 ...)

(> item1 item2 ...)

(>= item1 item2 ...)

(cond (statement1 result1 ...) ...)

(eq statement1 statement2)

(if test statement1 [statement2])

(while text statement )

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language

CADDIT® is a registered trademark in Australia. All Rights Reserved. Comments concerning the content of this site should be addressed to our webmaster. progeCAD is a trademark of ProgeCAD srl. Autodesk® and AutoCAD® are both registered trademarks or trademarks of a third party, and used only for comparison purposes. All other trademarks, trade names or company names referenced herein are used for identification only and are the property of their respective owners. Legal and Terms of Use. Google. Find us on Google+.