DCode

Covers Engine 2.0.0

if

Run an indented block when a condition is true.

Syntax

if <condition>:

Available in

  • Executable DCode bodies

Lua transformation

if then … end

Example

if condition:
    -- body