Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Just for fun
Message
General information
Forum:
CAD
Category:
Autocad Lisp
Title:
Miscellaneous
Thread ID:
00366624
Message ID:
00366728
Views:
21
Ho! Fun!!!

This is Friday work :)

>Nothing wrong. Now just type FUN at the command line and it should work.
>
>The (load) function only loads a lisp file into memory. kinda like SET PROCEDURE TO in VFP. You then need to call the function. The C: in front of the function name means you can call it as a command, w/o the c: you have to call it surrounded by ().
>
>Have FUN ;)
>
>>I past this (load "c:\\temp\\goofy.lsp") in the command line and the only thing I get is:
>>C:FUN
>>
>>What did I do wrong?
>>
>>>Here's a goofy little .lsp function. Might be fun to replace someone's line command with and see what happens < eg >
>>>
(defun c:fun (/ pta n ck)
>>>  (setq pta (getpoint "Please Choose Start Point")
>>>	n 1)
>>>  (while (setq ck (cadr (grread t)))
>>>	 (grdraw pta ck n)
>>>	 (if (> n 16)
>>>             (setq n 1)
>>>             (setq n (1+ n))
>>>         )
>>>  )
>>>)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform