printCompilerMessage (message --)
Inputs
Outputs
- None.
It prints one known Text message and appends one line-feed. Only the supplied message is consumed.
Behavior
- A known
NILText input is invalid. - The printed message is followed by one line-feed, even when the text is empty.
Example
{} 0 {} [
1
"hello" printCompilerMessage
"" printCompilerMessage
"world" printCompilerMessage
printStack _:;
0
] "main" exportFunction
Expected Output During Compilation
hello
world
1
See also
failCompilationbuiltin(--)Aborts compilation immediately.getCallTracebuiltin(-- callTrace)Returns a Ref to the current call trace, orNILwhen unavailable.printStackbuiltin(--)Prints the current data stack in canonical formatter form; it does not itself pop stack objects.printStackTracebuiltin(--)Prints the current scope stack as file path, line, column, and node source text information.raiseStaticErrorbuiltin(message --)Raises a compile-time error with the given known Text message.