Loop structure. in the loop output, the variable does not need to add $ symbol instance 1.for( tableborder & amp; #39; 1 & amp; #39; width & amp; #39; 500 & amp; #39;) (forstart & amp; #39; 0 & amp; #39; end & amp; #39; 10 & amp; #39; name...
Loop structure. the $ symbol is not required for the variable in the loop output.
Instance 1.for
- (Table border = '1' width = '000000 ')
- (For start = '0' end = '10' name = 'J' step = '-2' comparison = 'GT ') // lt positive Order step is the step value plus 2/gt reverse Order output step is the step value minus 2
- (Tr) (td) {$ j} (/td) (td) abc (/td) (/tr)
- (/)
- (/Table)
Instance 2. volist
- (Volist name = 'list' id = 'V') // A circular multi-dimensional array. v indicates the current array.
- {$ V. username} (br /)
- (/Volist)
Instance 3. foreach
- (Foreach name = 'list' item = 'V' key = 'k ')
- {$ K} ------- {$ v} (br /)
- (/Foreach)