Local Variable and Label Names
Source: Positron16 Compiler User Manual, PDF page 451
Any label, constant or variable created within a procedure is local to that procedure only. Meaning that it is only visible within the procedure, even if the name is the same as other variables created in other procedures, or global constants or variables. A local variable is created exactly the same as global variables. i.e. using Dim:
Proc MyProc(pMyByte as Byte)
Dim MyLocal as Byte
' Create a local byte variable
MyLocal = pMyByte
' Load the local variable with parameter variable
EndProc
Note that a local variable's name must consist of more than 1 character.