Caravan Business Server>Help>Misc>Combining Multiple Statements in One Line |
Syntax
|
<CARAVAN>loop counter variable (end value of the counter)</CARAVAN> ... Any number of HTML/Caravan statements can be included ... <CARAVAN>repeat variable name of the loop counter( end value of the counter) </CARAVAN>
|
Text
|
Multiple Caravan statements can be combined in one line, one after another, separated by a semicolon (;).
|
Sample
|
Example <HTML> <BODY> <CARAVAN> loop ctr (100); "The value of the counter is ";ctr(counter);"<br>";repeat ctr 100 </CARAVAN> </BODY> </HTML>
|
Back
|