Set Table Cell
From UBot Studio
(Difference between revisions)
Line 21: | Line 21: | ||
The script above will place the value "blue" at the specified table cell, which is row 0 column 0. | The script above will place the value "blue" at the specified table cell, which is row 0 column 0. | ||
+ | |||
[[File:settab.png]] | [[File:settab.png]] |
Revision as of 20:48, 20 May 2013
Set Table Cell is a Data Command.
This command allows you to enter data into any specified cell of any table. This can apply to a pre-existing table, or you can create a new table using the command.
Table: The table where the cell will be set.
Row: The row number where the cell will be set (for example Row 0)
Column: The column number where the cell will be set (for example Column 0)
New Cell Content: The content that will be placed in the specified cell.
Example
set table cell(&colors, 0, 0, "blue")
The script above will place the value "blue" at the specified table cell, which is row 0 column 0.