Text

From MiniScript Wiki
Revision as of 02:13, 19 January 2021 by JoeStrout (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In Mini Micro, text is a global reference to the default text display. This is the display used by print and input, as the system prompt, error messages, etc.

The clear command sets text to be display 3, but you can assign any other TextDisplay to this global, redirecting system input/output to a different display.

Example

Clearing just the text display, and then moving the cursor to row 20:

text.clear
text.row = 20