Difference between revisions of "TextDisplay.setCell"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>TextDisplay.setCell</c> Directly sets a character into a given row and column of the text display. This does not use (or change) the cursor position, nor does it apply the...")
 
m
Line 1: Line 1:
<c>TextDisplay.setCell</c> Directly sets a character into a given row and column of the text
+
<c>[[TextDisplay]].setCell</c> Directly sets a character into a given row and column of the text
 
display.  This does not use (or change) the cursor position, nor
 
display.  This does not use (or change) the cursor position, nor
does it apply the current text colors or inverse mode; it only change
+
does it apply the current text colors or inverse mode; it only changes
 
the character displayed.
 
the character displayed.
  

Revision as of 15:06, 2 April 2020

TextDisplay.setCell Directly sets a character into a given row and column of the text display. This does not use (or change) the cursor position, nor does it apply the current text colors or inverse mode; it only changes the character displayed.

See also: TextDisplay.cell

Arguments

Parameter Name Type Default Value Meaning
x number 0 column of cell to change
y number 0 row of cell to change
character string "" character to store in the given cell

Example

text.setCell 0, 10, "@"