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

Loops

From FenixWiki

Revision as of 15:16, 1 May 2007 by FCR (Talk | contribs)
Jump to: navigation, search


Definition

LOOP

Loop is a reserved word used to create iterations in your code. The terminator for a loop is end. the statements between these words will get repeated indefinately. There are several types of loops:

  • the normal loop
  • [[while(<condition>)|while] loop (terminator: end)
  • repeat loop (terminator: [[until(<condition>)|until]])
  • [[for([<initalization>];[<condition>];[<increment>])|for]] loop (terminator: end)
  • [[from variable = value to value2|from] loop (terminator: end)

Example

Process loops()
Begin

End
Personal tools