ArcBasicDocs

Local

Declares a variable for one function.

Local name[%|#|$|.Type] [= value] [, ...]

Parameters

None.

Description

Makes variables that belong to the function, or main program, they are made in, and can't be seen anywhere else. Each call of a function gets fresh ones. A variable used without being made first is local. With square brackets it makes a fixed-size array: Local seen[5], numbered from 0 to 5.

See also