Clear

From MiniScript Wiki
Revision as of 03:46, 18 January 2021 by JoeStrout (talk | contribs) (Created page with "In Mini Micro, <c>clear</c> is a commonly-used function to clear the screen and reset the displays to their default modes, as shown below. File:DisplayLayou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In Mini Micro, clear is a commonly-used function to clear the screen and reset the displays to their default modes, as shown below.

DisplayLayout.png

clear also reassigns the text and gfx globals to display(3) and display(5) respectively, and moves the text cursor to row 25 (top of the screen).

The clear method is defined in /sys/startup.ms.