Difference between revisions of "Text"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "In Mini Micro, <c>text</c> is a global reference to the default text display. This is the display used by print and input, as the system prompt, error messages, e...")
 
m
 
Line 10: Line 10:
 
text.row = 20</ms>
 
text.row = 20</ms>
  
[[Category::Mini Micro]]
+
[[Category:Mini Micro]]

Latest revision as of 02:13, 19 January 2021

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