You can use VAR to specify local variables. I usually use OPTION STRICT, which forces you to declare variables before they are used, so it's clear when I'm accessing a local variable in a function rather than a global variable.