I wish to use local variables...

There must be a structure to mark parts of code to use local variables. It must be possible to use the same variable-name in different subroutines without using the same ram-location.