Translations:Extension:Scribunto/Lua reference manual/1452/en

The second form of the for loop works with iterator functions. As in the first form, the expresssion-list is evaluated only once before beginning the loop.