DCode

Covers Engine 2.0.0

for

Use a Lua for-clause with DCode colon-and-indentation syntax.

Syntax

for <Lua for-clause>:

Available in

  • Executable DCode bodies

Lua transformation

for do … end

Example

for index = 1, 10:
    -- body