aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

4.174 - [for] Built-In

Mnemonic aid: for FOR X to Y step by Z

See also:  [case] ,  [in] ,  [stage]  and  [switch] 

This built-in iterates from X to less than Y by step Z:


[for styleName,X,Y,Z]

[style mmm ([b]) ]
[for mmm,0,10,1]
[for mmm,10,0,-1]
[for mmm,0,10,2]
[for mmm,10,0,-2]

(0) (1) (2) (3) (4) (5) (6) (7) (8) (9)
(10) (9) (8) (7) (6) (5) (4) (3) (2) (1)
(0) (2) (4) (6) (8)
(10) (8) (6) (4) (2)
(0) (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (9) (8) (7) (6) (5) (4) (3) (2) (1) (0) (2) (4) (6) (8) (10) (8) (6) (4) (2)
Note:

As interation and nesting depth of iterations can both create large amounts of output, both may be limited by the invocation parameters xlimit and dlimit. See this page for details on how to set those for class invocations.

Other built-ins used here:  [b]  and  [style] 

Keyboard Navigation
, Previous Page . Next Page t TOC i Index

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7