Navigation:  thinBasic language > Data types and variables > DIM >

LOCAL

Previous pageReturn to chapter overviewNext page

 

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

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com