End

From Bennu Wiki
Jump to navigation Jump to search


Up to Basic Statements



Syntax

End

Description

End is a reserved word used to terminate loads of stuff, such as if-statements, loops, begin-statements, etc...

Example


Process Main()
Begin
    If(something)
       If(something_else)
           Loop
               frame;
           End //ends the loop
       End //ends the second if-statement
    End //ends the first if-statement
End //ends the program block (begin keyword)

Used in example: process, if, loop, end


Keywords
Basic statement BEGINCONSTDEBUGDECLAREENDFUNCTIONGLOBALLOCALONEXITPRIVATEPROCESSPROGRAMPUBLIC
Control flow statements BREAKCALLCASECONTINUEDEFAULTELIFELSEELSEIFELSIFFORFRAMEFROMGOTOIFJMPLOOPREPEATRETURNSTEPSWITCHTOUNTILWHILEYIELD
Misc INCLUDEIMPORT