run

Help Contents Control Structures run
Tag runResult

run instructionlist


command or operation. Runs the Logo instructions in the input list; outputs if the list contains an expression that outputs.

Examples:

run [pr 1 pr 2 pr 3]

prints:

1
2
3

to a
	pr "a
end
a defined
to b
	pr "b
end
b defined
repeat 10 [run pick [a b]]

prints something like:

a
a
b
b
a
b
a
a
a
a

See also:

Examples:

References:

Tag runResult