Set Table Cell
From UBot Studio
(Difference between revisions)
(→Example) |
|||
(One intermediate revision by one user not shown) | |||
Line 22: | Line 22: | ||
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: | + | |
+ | [[File:settable.jpg]] |
Latest revision as of 21:02, 23 September 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.
[edit] 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.