Code Red > AutoLISP (Vanilla / Visual)
New VL Function
daron:
2004, it seems that ADesk hasn't totally left production of lisp on the shelf. Check this out:
--- Quote ---Creates a directory
(vl-mkdir directoryname)
Arguments
directoryname
The name of the directory you want to create.
Return Values
T if successful, nil if the directory exists or if unsuccessful.
Examples
Create a directory named mydirectory:
_$ (vl-mkdir "c:\\mydirectory")
T
--- End quote ---
hendie:
hmmnn ... useful
thanks for the tip
SMadsen:
VL-MKDIR isn't a new function but documentation of it is new. Now we only need documentation for the other undocumented functions :)
SMadsen:
-> Here's one they could have documented:
Checks if a number exceeds the upper range of real numbers
(vl-infp num)
Arguments
Any number
Return values
T if number exceeds the range and would return #INF. Otherwise nil.
Examples
(vl-infp 1.79769313486e308)
nil
(vl-infp 1.79769313487e308)
T
(vl-infp (+ 1.79769313486e308 1.0e296))
nil
(vl-infp (+ 1.79769313486e308 1.0e297))
T
daron:
What, are they trying to break us in easy? Give us the goods! We'll figure it out. How do you find these things, Stig? Of course, in Vertical Platform's the whole AEC object model wasn't documented, but is now with 2004.
Navigation
[0] Message Index
[#] Next page
Go to full version