9xc Console - Owen2k6/GoOS GitHub Wiki

Console I/O & Colours (Console library)

Requires:

import Console

Writing

Write >> "Hello", Name, 123, Flag
Print >> "Line", Name           ; adds newline
  • Arguments are comma‑separated; each argument may be:
    • quoted text
    • a Bool, Int, String, or Color variable
    • an unknown token is written literally

Reading

Read          ; waits for a single key
ReadLine      ; reads a full line

Clearing

Clear

Cursor & colours

Bool Cursor = true
Int  CursorX = 0
Int  CursorY = 10

Color ForeColor = Yellow
Color BackColor = DarkBlue

These map directly onto the GoOS console.

⚠️ **GitHub.com Fallback** ⚠️