Skip to main content

PRINT

Constant PRINT 

Source
pub const PRINT: FunctionDescriptor;
Expand description

Appends a bounded textual rendering of a value to the machine log without external I/O.

Rendering must fit the machine string bound. Logs are a bounded ring buffer: when full, the oldest retained line is discarded, and no external I/O occurs.

§Signature

func print(value: T) -> Unit

§Record a value

print writes the interpreter log.

print("hello");