Declares local variables. Each variable name that is given should start with a $ character and is created as a variable local to the current script level.
To create a local variable and initialize it at the same time, simply use the normal variable assignment syntax:
$localvariable=value
Local variables MUST begin with a $ character. For more information on using local variables, see the Using Local Variables topic.
LOCAL example
#LOCAL $temp1 $temp2 Defines both $temp1 and $temp2 to be local variables.