#Region

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Script structure > Pre Parsing directives >

#Region

 

Description

 

Collapses and hides sections of code in script source files.

 

Syntax

 

#Region "identifier_string"

#EndRegion

 

Returns

 

Parameters

 

Remarks

 

Use the #Region directive to specify a block of code to expand or collapse in thinAir Editor.

You can place, or nest, regions within other regions to group similar regions together.

 

Restrictions

 

See also

 

Examples

 

#Region "MathFunctions"

    ' Insert code for the Math functions here.

#EndRegion