|Navigation: Language Reference > 2 - Program Source Code Format > Compiler Directives >====== BEGIN (define code structure) ======|
|BEGIN||Declares a single code statement structure.|
|statements||Executable program instructions.|
The BEGIN compiler directive tells the compiler to treat the statements as a single structure. The BEGIN structure must be terminated by a period or the END statement.
BEGIN is usually used in an EXECUTE control structure to allow several lines of code to be treated as one.
Proc1 !Execute if Value = 1
BEGIN !Execute if Value = 2
Value += 1
Proc3 !Execute if Value = 3