Next: , Previous: , Up: AutoGen Scheme Functions   [Contents][Index]


3.4.28 last-for? - detect last iteration

Usage: (last-for? [ for_var ])
Returns SCM_BOOL_T if the named FOR loop (or, if not named, the current innermost loop) is on the last pass through the data. Outside of any FOR loop, it returns SCM_UNDEFINED. See FOR - Emit a template block multiple times.

Arguments:
for_var - Optional - which for loop