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...")
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<c>TextDisplay.inverse</c> gets or sets whether subsequent printing should be done in "inverse" mode,
+
<c>[[TextDisplay]].inverse</c> gets or sets whether subsequent printing should be done in "inverse" mode,
 
where the foreground and background colors are swapped.
 
where the foreground and background colors are swapped.
  
 
=== 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.)
  

Latest revision as of 15:03, 2 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