Print & Output
print / println
print("no newline");
println("with newline");
println(`&{42}`); // prints integer via interpolation
println(`Value: &{expression}`); // interpolation
print(s)— output without newlineprintln(s)— output with newline
Streams
| Stream | Purpose |
|---|---|
stdout |
Standard text output |
stderr |
Error output |
stddbg |
Debug output |
Related
- types/string.md — string types and interpolation
- file_io.md — file operations