This wiki is out of date, use the continuation of this wiki instead

End

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:34, 1 May 2007 (edit)
FCR (Talk | contribs)

← Previous diff
Revision as of 21:28, 1 May 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 3: Line 3:
'''END''' '''END'''
-End is a reserved word used to terminate loads of stuff, such as [[if|if-statements]], [[loop|loops]], [[block|begin-end statements]], etc...+End is a reserved word used to terminate loads of stuff, such as [[if|if-statements]], [[loops]], [[block|begin-end statements]], etc...
== Example == == Example ==
Line 9: Line 9:
Program test() Program test()
Begin Begin
- If (something)+ If(something)
- If (something_else)+ If(something_else)
Loop Loop
Frame; Frame;

Revision as of 21:28, 1 May 2007

Definition

END

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

Example

Program test()
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)
Personal tools