Statement Block Definition
Previous Topic  Next Topic 

The statement_block can consist of zero or more statements of the following types:


[declaration_block]

[empty_statement]  

[expression_statement]

[goto_statement]

[jump_statement]

[label_statement]

[return_statement]

[restart_statement]

[stop_statement]

[break_statement]

[continue_statement]

[while_statement]

[do_statement]

[for_statement]

[if_statement]

[switch_statement]




The syntax of the declaration_block has already been described, and the empty_statement consists of a single semi-colon.  E.g.


func doesnothing()

   ;   // this is the empty statement that does nothing

   ;;; // here are three more all doing lots of nothing

endfunc


In the following sections are the descriptions of the other statement type listed above: