SplitScript reference / print

print

Function

print<T>(message: T) -> None where T: Display

Prints a diagnostic message.

The message is forwarded to the autosplitting runtime.

Parameters

  • message: The value to write to the runtime log.

Effects: writes runtime state

Runtime behavior: available everywhere; synchronous

Examples

Write to the runtime log

print(42)