Difference between revisions of "Clear"

From MiniScript Wiki
Jump to navigation Jump to search
(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...")
 
m
Line 5: Line 5:
 
<c>clear</c> also reassigns the <c>text</c> and <c>gfx</c> globals to <c>display(3)</c> and <c>display(5)</c> respectively, and moves the text cursor to row 25 (top of the screen).
 
<c>clear</c> also reassigns the <c>text</c> and <c>gfx</c> globals to <c>display(3)</c> and <c>display(5)</c> respectively, and moves the text cursor to row 25 (top of the screen).
  
The <c>clear</c> method is defined in /sys/startup.ms.
+
The <c>clear</c> method is defined in <c>[[startup.ms|/sys/startup.ms]]</c>.
  
  
 
[[Category:Mini Micro]]
 
[[Category:Mini Micro]]

Revision as of 02:14, 19 January 2021

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.