output

Help Contents Control Structures output
stop op

output value
op value


command. Ends the running of the procedure in which it appears. That procedure outputs the value "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.

Example:

to t
	pr 1
	output [Hallo!]
	pr 2
end
;t defined
show t

will print:

1
[Hallo!]

See also:

Examples:

References:

stop op