Les,

I know macros and variables are not the same thing. But in my strange and twisted world I like to think of them as being similar. I like to think of macros as the "Read Only" versions of a variable already set by someone else.

Quote:

and what does your last example have to do with any of it?




Just basically giving an example of a variable I use several time in my login script. I should have explained further. Anyways, here is an example of how I use it in my script.

Code:


IF EXIST("$MY_DOCUMENTS\My Company Documents\Drawings") = 0
MD "$MY_DOCUMENTS\My Company Documents\Drawings"
ENDIF




Richard,

The whole memory allocation thing is a little long to explain. Basically, it was my understanding that by declaring a variable before setting it you were actually telling the interpreter to set aside or allocate resources or something like that.

Quote:

NoVarsInStrings and Explict are considered good practice because they will make your code more reliable.




This makes sense and I can see how it can screw things up or give unexpected results in some cases. I also read through the links provided by StarwarsKid and found some good information.

I am not opposed to conforming to standards. I just have never been that good at it.

Thanks for the help.