`( List posts )

The "each/Each" command is a "for" loop on steroid, with lots of looping information.

The instance variable is defined after the | line, the same way as any tag render-back

`each posts | String p

index: $_index, parity: $_parity, is odd? $_isOdd, is first? $_isFirst, is last? $_isLast, total size: $_size

call a tag: `tag SampleTag p `

`tag SampleTag "each call end"

now we have an enhanced for loop (the "open for loop") that also makes all the loop properties available

`int k = 1; `for String p : posts

index: $_index, parity: $_parity, is odd? $_isOdd, is first? $_isFirst, is last? $_isLast, total size: $_size

call a tag: `tag SampleTag p ` `final int[] ints = {1, 2, 3, 4}; `for int i : ints --> ~i `if (i == 2) { `return; // this will work as continue `} else { :--- `} `