Code Red > AutoLISP (Vanilla / Visual)

F: or C:

(1/3) > >>

rugaroo:
Can someone please give me a general explination of the difference between what f: and c: does? I notice that the f: only works when I have LDD loaded. Just curious.

Rug

daron:
The way I understand it is you can put any letter before :. But, if anybody has more info on the matter, I'd like to know, too. Thanks.

SMadsen:
What are you guys talking about?  :shock:

daron:
(defun C: or I: or F: or nothing ()...)

I'm thinking that.

Or the way Bell does it:

--- Code: ---(defun ax:BuildFilter (filter)
  (vl-load-com)
  (mapcar '(lambda (lst typ)
    (vlax-make-variant
      (vlax-safearray-fill
(vlax-make-safearray
  typ
  (cons 0
(1- (length lst))
  )
)
lst
      )
    )
  )
 (list (mapcar 'car filter) (mapcar 'cdr filter))
 (list vlax-vbInteger vlax-vbVariant)
  )
)
--- End code ---

JohnK:
Dude, there is no "F" prefix. The "C" prefix is of-course the one that makes the function an autocad command.

Alot of people put prefixes on thier functions. (Mark and i do it when we work on a program together so we can tell who made a function.) for reference type of thing. But i know of NO "f" prefix.

Navigation

[0] Message Index

[#] Next page

Go to full version