The loop runs up to 2.5. With step 0.01 it runs up to 0.5. With step 0.001 it runs to the end.
Tested on Windows.
Code: Select all
EnableLayers()
For i=0 To 10 Step 0.1
DebugPrint(i)
StartPath(1)
MoveTo(1, 0, 0)
;DebugPrint("vor AddBoxToPath")
AddBoxToPath(1, 0, 0, i, 20)
;DebugPrint("vor ClosePath")
ClosePath(1)
FreePath(1)
Next