AutoCAD 2012 帮助 | ![]() |
Returns the nth element of a list
(nth n lst)
The nth element of lst. If n is greater than the highest element number of lst, nth returns nil.
Command: (nth 3 '(a b c d e))
D
Command: (nth 0 '(a b c d e))
A
Command: (nth 5 '(a b c d e))
nil
N Functions | ![]() | |
namedobjdict | ||
nentsel | ||
nentselp | ||
new_dialog | ||
not | ||
nth | ||
null | ||
numberp |