Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:create:functions:looppage [14.05.2016 21:27]
admin [loopPage()]
en:create:functions:looppage [26.08.2020 22:33] (current)
sophia.schauer
Line 4: Line 4:
  
 ''int **loopPage**(int //repetitions//)'' ''int **loopPage**(int //repetitions//)''
 +
 +''mixed **loopPage**(array //elements//)''
  
 Repeats the page -- beginning with the //start value// -- in a loop as often as it takes until the //end value// is reached. The current value is returned each time.  Repeats the page -- beginning with the //start value// -- in a loop as often as it takes until the //end value// is reached. The current value is returned each time. 
Line 11: Line 13:
   * //increment//\\ (optional) change in value on every loop pass (standard: 1) -- you can create an endless loop with the //increment// 0, which can be terminated using ''setNextPage('next')''   * //increment//\\ (optional) change in value on every loop pass (standard: 1) -- you can create an endless loop with the //increment// 0, which can be terminated using ''setNextPage('next')''
  
-If only one parameter (//repetitions//) is specified the page will repeat as often as determined. The counter variable begins with 0 in this instance.+If only a nummeric parameter (//repetitions//) is specified the page will repeat as often as determined. The counter variable begins with 0 in this instance.
  
   * //repetitions//\\ number of repetitions   * //repetitions//\\ number of repetitions
en/create/functions/looppage.1463254045.txt.gz · Last modified: 14.05.2016 21:27 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki