up: AutoCAD - LISP  
AutoCAD LISP
FOREACH
What links here?
foreach - This function steps through each item in the list and returns the last result of the function.

Syntax : (foreach var_name list your_function)



(foreach a (list 1 2 3)(princ a)) prints 123 to the screen
AutoCAD LISP - FOREACH
filename:AutoCAD LISP - FOREACH
filename:AutoCAD%20LISP%20%2D%20FOREACH
last edit:September 01 2012 16:01:18 (4735 days ago)
ct = 1755698236.000000 = August 20 2025 09:57:16
ft = 1346529678.000000 = September 01 2012 16:01:18
dt = 409168558.000000