AutoCAD LISP - CONDWhat links here?
Conditions are tested until one is found that is true, the associated statement is evaluated, and the COND is exited.
(COND
    ((test_one) (do_this_1))
    ((test_two) (do_this_2))
    (T (do_this_if_nothing_else))
)


The do_this's can contain multiple statements:

(COND
    ((test_one) (do_this_1a) (do_this_1b) (do_this_1c))
    ((test_two) (do_this_2))
    (T (do_this_if_nothing_else))
)
AutoCAD LISP - COND
AutoCAD LISP - ENTUPD
MC6802 - instruction set - No Operation
fred
file formats - PDF - Coordinate Spaces
file formats - PDF - color space
AutoCAD LISP - IF
AutoCAD LISP - WHILE
AutoCAD LISP - LIST
AutoCAD LISP - ENTDEL
Rear View Cameras
Freecad Sketcher Menu
embedded systems - bacnet - message formats - bacnet-ip
programming:microchip pics:pic_labx_20_serial_io
programming:microchip pics:pic_labx_20_leds
filename:AutoCAD LISP - COND
filename:AutoCAD%20LISP%20%2D%20COND
last edit:September 02 2012 18:57:42 (4734 days ago)
ct = 1755698238.000000 = August 20 2025 09:57:18
ft = 1346626662.000000 = September 02 2012 18:57:42
dt = 409071576.000000