Show / Hide Table of Contents

# region


General Action Statement

The # region statement begins a collapsible code block that can be minimized for Logic organization.

Syntax

# region <Optional region name or description>

<logic>

# endregion

Example

# region Declare Local Variables

Int myInt

Real myReal

# endregion

Remarks

Once both statements are included, a box opens to the left of the # region statement. Select this box to collapse all code between the # region and # endregion statements.

In This Article
Back to top Generated by DocFX