Difference between revisions of "TextDisplay.setCell"

From MiniScript Wiki
Jump to navigation Jump to search
m
 
Line 12: Line 12:
 
! Parameter Name !! Type !! Default Value !! Meaning
 
! Parameter Name !! Type !! Default Value !! Meaning
 
|-
 
|-
| ''x'' || number || 0 || column of cell to change
+
| ''x'' || number || 0 || column (or list of columns) of cell to change
 
|-
 
|-
| ''y'' || number || 0 || row of cell to change
+
| ''y'' || number || 0 || row (or list of rows) of cell to change
 
|-
 
|-
 
| ''character'' || string || "" || character to store in the given cell
 
| ''character'' || string || "" || character to store in the given cell

Latest revision as of 02:43, 29 December 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 (or list of columns) of cell to change
y number 0 row (or list of rows) of cell to change
character string "" character to store in the given cell

Example

text.setCell 0, 10, "@"