TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Mark on September 21, 2005, 01:40:05 PM
-
How to compile a list of lisp files into a single fas file?
-
Add files via the 'LISP files to include' dialogue ...
:)
-
Ok .. my response would be why? ... but just in case ... two methods I can use to do just such a thing ...
Combine the various lisp files into one single file then compile or add the other lisp files as resources to the main lisp in the fas ...
-
Yep, if you go that route you can command line compile via (vlisp-compile ...).
:)
-
Add files via the 'LISP files to include' dialogue ...
:)
Nope, that would produce various fas - we are looking for a way to get a single fas file and add any lisp file from any location, including path or part of the support paths....
-
Ok .. my response would be why? ... but just in case ... two methods I can use to do just such a thing ...
Combine the various lisp files into one single file then compile or add the other lisp files as resources to the main lisp in the fas ...
:roll:
It is just a question on what to use something to produce a single fas.... as we can package into a vlx extension....
-
Well, considering that FAS is considerably less secure than VLX that is why I stated my comment in that manner.
I prefer breaking up my functions into multiple FAS files (as many as I can) then compile the multiple FAS files into a VLX, seperate namespace and optimized.
-
I'm with Keith, I never use fas files. Enlighten for amusement please.
:)
-
Never mind.
:)
-
And what is the function usage for that?
-
(vlisp-compile-list 'st
(list "file-a" "file-b" "file-c")
"c:\\VL-Compiled\\testCompile.fas"
)
-
(vlisp-compile-list 'st
(list "file-a" "file-b" "file-c")
"c:\\VL-Compiled\\testCompile.fas"
)
:kewl: yes....
Here are some info about others vlisp-xxx functions:
;; compile a list of lsp files into a single fas file
;; files do not required the .lsp extension or the path
;; as long they are inside of a support folder.
(vlisp-compile-list
'st
(list
"dtt-general"
"dtt-inifile"
"odcl_GPoly")
"c:\\GPoly.fas")
;; find a vlisp project
(vlisp-find-project "gpoly.prj")
;; "C:/Documents and Settings/Jose Rodriguez/Desktop/ui_gpoly/gpoly.prj"
;; make a lsp file into fas
;; same as function "vlisp-compile"
(vlisp-make-file-fas 'st "dtt-general")
;; make all lsp files into fas from a vlisp project
(vlisp-make-project-fas "gpoly.prj")
;; return a list of all fas files with path
;; made from a vlisp project
(vlisp-project-fas-list "gpoly.prj")
;;;("C:/Documents and Settings/Jose Rodriguez/Desktop/ui_gpoly/dtt-general.fas"
;;; "C:/Documents and Settings/Jose Rodriguez/Desktop/ui_gpoly/dtt-inifile.fas"
;;; "C:/Documents and Settings/Jose Rodriguez/Desktop/ui_gpoly/odcl_GPoly.fas")
-
Good stuff, thanks for sharing Mr. Esquivel.
(http://www.theswamp.org/screens/mp/thumbsup.gif)
-
Question: Who is Jose Rodriguez? Alter Ego?
-
Good stuff, thanks for sharing Mr. Esquivel.
(http://www.theswamp.org/screens/mp/thumbsup.gif)
no problema....
Mr? Hey I am just 21..... hehe
-
Question: Who is Jose Rodriguez? Alter Ego?
I did the test on one of our office computers.
:-)
-
Mr? Hey I am just 21..... hehe
21? Say what? Metric? Hex?
-
Question: Who is Jose Rodriguez? Alter Ego?
I did the test on one of our office computers.
:-)
R i g h t .
-
21? Say what? Metric? Hex?
He he.....
-
LE = Liar Extraordinaire.
/kidding
:lmao:
-
:-D
:lmao:
:mrgreen: