Difference between revisions of "TextDisplay.inverse"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>TextDisplay.inverse</c> gets or sets whether subsequent printing should be done in "inverse" mode, where the foreground and background colors are swapped. === Usage Notes...")
 
Line 3: Line 3:
  
 
=== Usage Notes ===
 
=== Usage Notes ===
this mode may also be controlled by printing two special characters:  
+
This mode may also be controlled by printing two special characters:  
 
char(134) sets inverse to true, and char(135) sets inverse to false.)
 
char(134) sets inverse to true, and char(135) sets inverse to false.)
  

Revision as of 21:55, 1 April 2020

TextDisplay.inverse gets or sets whether subsequent printing should be done in "inverse" mode, where the foreground and background colors are swapped.

Usage Notes

This mode may also be controlled by printing two special characters: char(134) sets inverse to true, and char(135) sets inverse to false.)

Example

text.inverse = true; print " BLOCKY "; text.inverse = false