Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:create:functions:looppage [28.11.2014 11:32] – [loopPage()] alexander.ritteren:create:functions:looppage [11.01.2015 14:51] admin
Line 2: Line 2:
  
 ''int **loopPage**(int //start value//, int //end value//, [int //increment//])'' ''int **loopPage**(int //start value//, int //end value//, [int //increment//])''
 +
 +''int **loopPage**(int //repetitions//)''
  
 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 9: Line 11:
   * //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.
-''int **loopPage**(int //repetitions//)'' +
- +
-If only one parameter 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.txt · Last modified: 05.09.2023 23:00 by swissel.uni-mannheim
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki