Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
en:create:functions:looppage [28.11.2014 11:32] – [loopPage()] alexander.ritter | en:create:functions:looppage [11.01.2015 14:51] – admin |
---|
| |
''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. |
* //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 |