I was wondering if any one else has built a lisp command library:?:.
What I mean by lisp command library is a lisp which is coded to do a specific task, and you then treat that lisp like it is a lisp command.
I load my library lisps at start and I then have the lisps available when coding up other lisps
A few examples are the following.
(R2D ARG) = Radians to Degrees
(D2R ARG)= Degrees to Radians
(DXF CODE LIST) = Return co-rosponding dxf vale for DXF code entered
(DLGload FILENAME) = load a DCL dialog box complete with error checking
(TOlist LIST KEY) = Send a list to the listbox in dcl
(LIST2STR LIST) = Converts a list to a string
(LIST2FILE LIST FILENAME) = Writes a list to a ascii text file
(FILE2LIST FILENAME) = Read a ascii text file and converts it to a list
(PATHSTRIP FILENAME) = Strips the path from a file
(ROUND ARG NEAREST DIRECTION) = Rounds a real number up, or down to a value to specifiy
(RANDOM) = Returns a random number
(REVERSETEXT STR) = Reverses a text string
....etc
I am hoping to consolidate my complete list of xtra commands and post them.
I am interested in seeing anyone elses library.