Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:functions:looppage [11.01.2015 14:51] adminen:create:functions:looppage [14.05.2016 21:27] – [loopPage()] admin
Line 1: Line 1:
 ====== loopPage() ====== ====== loopPage() ======
  
-''int **loopPage**(int //start value//, int //end value//, [int //increment//])''+''int **loopPage**(int //startValue//, int //endValue//, [int //increment//])''
  
 ''int **loopPage**(int //repetitions//)'' ''int **loopPage**(int //repetitions//)''
Line 7: Line 7:
 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. 
  
-  * //Start Value//\\ value on the first pass +  * //startValue//\\ value on the first pass 
-  * //End Value//\\ value on the last pass +  * //endValue//\\ value on the last pass 
-  * //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 one 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 
 + 
 +**Note:** To repeat more than one page, please use ''[[looptopage|loopToPage()]]''.
  
  
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