End

From Bennu Wiki
Revision as of 13:03, 4 June 2009 by Sandman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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