Turtle, Observer, Patch

ignore expression

Parameters:
expression Anything Expression to evalute for side effects

Description:
Ignores the return value of the expression immediately following it. More useful than it looks, ignore can be used to execute a procedure for its side effects.

Examples:
to compute-and-print-square :x
let [:ans :x * :x]
show :x
output :x

ignore compute-and-print-square 4 shows 16 in the command center, but does nothing with the return value from compute-and-print-square.