Is there a list of dos_xxx functions built into BricsCAD?
I am aware that a subset of the DOSLib functions are built into BricsCAD and therefore do not need the DOSLib .brx file loaded. Is there a handy list of those functions anywhere?
0
Comments
-
Answering my own question here, according to the developer reference these are included. Can anyone confirm these are current as per v23?
dos_acitorgb
dos_rgbtoaci
dos_hlstorgb
dos_rgbtohls
dos_copy
dos_encrypt
dos_fileex
dos_getdir
dos_getfilem
dos_strtokens
dos_strtrim
dos_strtrimleft
dos_strtrimright
dos_clipboard
dos_command
dos_guidgen
dos_dir
dos_dirp
dos_dirtree
dos_mkdir
dos_popupmenu0 -
huh, wondering what happens if you load DOSLib.brx
which method do you get? What if one is improved or has different behavior?0 -
Can't load the .brx in Lite, which is what I'm dealing with now, but in Pro and above the DOSLib .brx will win.0
-
Dear Steve,
yes, that list is valid. the LDSP and Online DevHelp are up-to-date ...
If you need more built-in support for particular DOSLib function, simply email me or send us a SupportRequest
(nice side-effect : those built-in DOSLib functions are then also available under Linux/Mac)
many greetings !0 -
You can also use the expression !dos_acitorgb or !dos_dirtree etc to check whether the function is available...
If you type in the command line
: !dos_acitorgb you get as result
#<<FUNCTION> #x1 @1000323ee6>
meaning that the function is available
You can also type the following function in the command line and get all the defined functions and symbols!
: (atoms-family 1)
Then just copy/paste the result and search in any text editor for the desired function....
0 -
Thanks, people. The following will surrender the DOS_ functions:
(foreach one (atoms-family 1) (if (wcmatch one "DOS_*") (print one)))(princ)
There are 21 available without loading the DOSLib brx (the ones documented) and 256 after loading.
I'll put in a request for a few others I find particularly handy.
Great to get in touch with you again, Torsten!0 -
Done, please see SR153630.Torsten Moses said:send us a SupportRequest
0 -
Unfortunately, the request has been declined.Torsten Moses said:send us a SupportRequest
0 -
what was it for?0
-
anyway, see if what you needed is in this library
https://www.theswamp.org/index.php?topic=581140