Tsguy
Getting the hang of it
Registered: 2010-01-18
Posts: 67
Loc: Oregon
|
Hiya Glenn,
You say "can't run", but it worked. 
I did feel a bit naughty putting the two Vars in quotes, but after playing with it for a bit I was just happy to get it launching properly.
With adjusting the Run command to
It works properly too, and I hope that's the better syntax.
One last syntax question. As I look the final script over, it seems like there's more lines spent declaring variables, then there is doing the actual work. On the one hand, that makes it much much easier to mod this script for our different environments (qa, prod, dev, etc); two Vars get changed and it's good to go. On the other hand, I'm a bit confused between the need for 'DIM' in addition to '$' for variables.
I always understood "$" to be defining a variable for the context of the script. What does "DIM" add to the statement of variables? I'm not sure I understand the distinction of a 'local variable' as the manual defines it.
much thanks as always 
TS
|