what meaning

caduser

Usenet Archive
Joined
Jan 1, 2000
Messages
51
Reaction score
0
what meaning between

(defun c:xx = without /

(defun c:xx (/) = width /

(defun c:xx ( / aaa )

(defun c:xx ( zzz / aaa)
 
caduser said:
what meaning between

(defun c:xx = without /

Meaning no arguments & no local variables
(defun c:xx (/) = width /
Same

(defun c:xx ( / aaa )

No arguments, 1 local variable named 'aaa'.
(defun c:xx ( zzz / aaa)

The 'c:' means the function can be called from the command line as 'xx'. I'm not sure that you can have such a function with an argument, but that's what the 'zzz' is.
 

Latest threads

Back
Top