GoCode Console and Colours - Owen2k6/GoOS GitHub Wiki
Writes text without a trailing newline.
Writes text and adds a newline.
Concatenation uses the exact token +
(space-plus-space). Each segment can be a quoted literal, a string variable, or an integer variable.
Examples:
string name = Owen
int year = 2025
print="Hello, " + name
println=" — Year " + year
Prompts using existing output and reads a line into the variable named input
.
Writes the prompt, then reads a line to input
.
Accepted names:
white, blue, green, yellow, black, cyan, gray, magenta, red, darkblue, darkcyan, darkgray, darkgreen, darkmageneta, darkred, darkyellow
Example:
frontcolor=yellow
backcolor=darkblue
println="Themed line"