Skip to content

Block Arguments

Mrcomputer1 edited this page Jun 11, 2016 · 1 revision

All blocks

Use b:Array instead of b:Block in the prim function

Strings (/drop down menus)

Use b[0] instead of interp.arg(b, 0);`

Integers

Use interp.numarg(b[0]); instead of interp.numarg(b, 0);

Booleans

Use interp.boolarg(b[0]); instead of interp.boolarg(b, 0);

Try Sharp here

Clone this wiki locally