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
science - human chromosomes
programming - javascript - objects
programming:windows:SetWindowText
programming:windows:WM_SETTEXT
MC6802 - instruction set - Compare memory to accumulator
MC6802 - instruction set - add memory to accumulator
MC6802 - assembler - statement format
bible - random notes - gospel
programming:c:function strrchr
programming:c:time_t
embedded systems - bacnet - BACnet-ComplexACK-PDU
programming - javascript - methods
electronics - Arduino - delete me
MC6802 - instruction set - Arithmetic Shift Right Accumulator
programming - linux - opendir readdir closedir
MC6802 - instruction set - Subtract Memory from Accumulator with Carry
MC6802 - instruction set - increment memory
filename:AutoCAD LISP - COND
filename:AutoCAD%20LISP%20%2D%20COND
last edit:September 02 2012 18:57:42 (4276 days ago)
ct = 1716092622.000000 = May 19 2024 00:23:42
ft = 1346626662.000000 = September 02 2012 18:57:42
dt = 369465960.000000