TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: One Shot on August 31, 2005, 12:58:31 PM

Title: rootpath
Post by: One Shot on August 31, 2005, 12:58:31 PM
How does rootpath work?  Can you please give me an example?
Title: rootpath
Post by: ronjonp on August 31, 2005, 01:09:58 PM
I think CAB was just using rootpath as a variable name to store the value "C:/Documents and Settings/bcrouse/Desktop/Library R & D Blocks/")
Title: rootpath
Post by: One Shot on August 31, 2005, 01:16:54 PM
Quote from: ronjonp
I think CAB was just using rootpath as a variable name to store the value "C:/Documents and Settings/bcrouse/Desktop/Library R & D Blocks/")



Ronjonp,

You are correct for an example.  I should have went to that thread to get the answer.  I was think one thing and doing something totally different.  But, I don't understand how rootpath works.

Thank you,
Title: rootpath
Post by: Bob Wahr on August 31, 2005, 02:10:59 PM
*rootpath* is just what he decided to call it.  It could have been

(setq fred "C:/Documents and Settings/bcrouse/Desktop/Library R & D Blocks/")

and worked as well.  *rootpath* just makes it easier to remember what you called that darned path variable.