Arc Forumnew | comments | leaders | submitlogin
get nbr of args for (defun x(a . b)...
1 point by globalrev 6087 days ago | 1 comment
is it possible to get the number of arguments passed to the function

  (defun x(a . b)
      (doxyz))


4 points by tokipin 6087 days ago | link

b there is just a standard list, so:

  (len b)
http://arcfn.com/doc/list.html#len

-----