Input and Output

Comprehensive guide to I/O in Linea

Display and Console Output

Use display for user-facing console output.

Basic Output

display "Hello from Linea"

var x @ int = 42
display "Value: " + x

Progress Reporting in Loops

for i from 1~4 {
    display "Step " + i
}
display "Done"