LOCAL variable [, variables]
Defines a list of variable names as local to the subroutine or function.
‘variable’ can be an array and the array will be dimensioned just as if the DIM command had been used.
A local variable will only be visible within the procedure and will be deleted (and the memory reclaimed) when the procedure returns.
If the local variable has the same name as a global variable (used before any subroutines or functions were called) the global variable will be hidden by the local variable while the procedure is executed.