Skip to content

console

console is a Standard Capability: a Script calls its Operations through a Grant the Host gives it, with ask for an answer or tell for none, and a suspending one with and wait. A call the Grants don’t allow fails to load. The full rules: chapter 7. Arguments are checked against the Operation’s Shapes, and a mismatch raises wrong kind; the entries below list the other errors.

write value, fire-and-forget

Shows the text form of value, any value, as one or more lines of output.

read, suspending

The next line of input the user types, as text, without its line break.