I've read the kix help, and I'm still not sure when to declare a variable as local or global.

This all started because I was using @TICKS to measure my script execution time, and I couldn't get the answer. I thought that my script would have worked find with "$START = @TICKS" defined at the beginning of my script. However, it didn't work correct until I declared my variables as local using the DIM command.

Could I get a little help on "DIM for Dummies"