OUTPUT

Synopsis
OUTPUT value
OP value
Description

Ends the running of the procedure in which it appears. That procedure outputs value to the context in which it was invoked. Don't be confused: OUTPUT itself is a command, but the procedure that invokes OUTPUT is an operation.

The value input may be any Logo thing (word, list, array, etc.).

Example
TO MYPROGRAM
  OUTPUT [This is the output]
END

SHOW MYPROGRAM
[This is the output]

SourceForge.net Logo