LOCAL

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Data types and variables > DIM >

LOCAL

 

Description

 

Synonymous of DIM keyword when executed outside any function.

When encountered inside a function LOCAL define a new local variable whose scope is local to the function.

Local variables are created when function starts and destroyed when function terminates its execution.

 

Syntax

 

see DIM keyword

 

Returns

 

None

 

Parameters

 

Remarks

 

Restrictions

 

See also

 

Examples