|
<dpLoop>
D E F I N I T I O N: |
|
|
Looping is most commonly used to step through a story, headline or other display tag by paragraph or font. However you can use it for whatever you want.
<dpLoop var="variable" from="#" to="#" step="#|-#">
<dpLoop var="i" from="1" to="10"> would create: 1 2 3 4 5 6 7 8 9 10
<dpLoop var="i" from="2" to="10" step=2> would create: 2 4 6 8 10
<dpLoop var="x" from="1" to="<dpImageCount>"> would list all of the images in the story
<dpLoop var="x" from="1" to="<dpLength unit="p"><dpStory></dpLength>"> would loop through the story one paragraph at a time from the first paragraph to the last paragraph. It would display the paragraph number followed by the paragraph itself.
|
| Home:
Support:
Reference Guide:
|
Questions? Comments? Please write support@desert.net. |