I've never had to index them that way, usually when I try to call a local variable I refer to by the name I gave it at the start of the script. eg.
Only exception is when I want to use variables that are not indexed in the variable list, I just create the variable header under the procedure...