Other blocks

Most blocks correspond directly to one of the documented Python commands. This page lists the remaining blocks.

This page will be expanded with more details in the next release.

Math

See also umath for other math operations.

000a * sin(b - c)abc
00mod
11+
11
11×
11÷
11^

Logic

345
34==
34
34>
34
34<
34
trueis none
trueis not none
truenot
truetrueand
truetrueor
1true0ifelse
100-1000truetrueifelseifelse
aabcin

Flow

break outof loop
continue with next iterationof loop
itemlistforin
item3rangeforin
item000list withforin
10repeattimes
truerepeatuntil
truerepeatwhile
trueifelse
trueifelseelse iftrue
trueif

Device and system setup

ABsensoronmotoronwith forwardtechnic hubset up

Waiting

1000mswait
truewait until
wait forever

Variables

0datastarting at
data
data0set to

Multitasking

program
multitask untilalldone

Your own tasks

my task
my taskxx
0return

External tasks

frommy_moduleimportexternal task
external task
external task

Comments

Describe your program.

Stopping programs

stop program