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
Current revision (13:29, 24 July 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
(4 intermediate revisions not shown.)
Line 1: Line 1:
[[category:reserved]] [[category:reserved]]
 +[[category:language]]
 +[[category:basic statement]]
 +
 +[[Basic statements|'''Up to Basic Statements''']]
 +----
 +
 +
== Definition == == Definition ==
-'''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]], [[begin|begin-statements]], etc...
== Example == == Example ==
<pre> <pre>
-Program test()+Program example;
Begin Begin
- If (something)+ If(something)
- If (something_else)+ If(something_else)
Loop Loop
- Frame;+ frame;
End //ends the loop End //ends the loop
End //ends the second if-statement End //ends the second if-statement

Current revision

Up to Basic Statements



[edit] Definition

End

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

[edit] Example

Program example;
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