Difference between revisions of "GetTableSize"
Jump to navigation
Jump to search
(Created page with "__FORCETOC__ = {EE} {{IE_EE}} = {{IE_EE_ex}} Loads a database from the CD which was created by the Event Databases spreadsheet and subsequently patched with FFTOrgASM. Along...") |
m (Xifanie moved page Event Instruction EE to GetTableSize) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{{IE_EE_ex}} | {{IE_EE_ex}} | ||
− | + | Gets the size, or number of rows, of a table in the currently loaded database, so you can easily loop through all rows. | |
− | |||
+ | See also: [[Event_Instruction_ED|{ED} {{IE_ED}}]] ― [[Event_Instruction_EF|{EF} {{IE_EF}}]] | ||
− | |||
+ | == Variable : Byte (hex) == | ||
+ | Variable to store the number of rows the Table holds. | ||
− | |||
− | |||
− | + | == Table ID : Byte (hex) == | |
− | == | + | Table ID as defined in the "Table Index" sheet of the Event Databases spreadsheet for the currently loaded Database. |
− |
Latest revision as of 05:12, 23 February 2021
{EE} GetTableSize
GetTableSize(xVR,xTB)
Gets the size, or number of rows, of a table in the currently loaded database, so you can easily loop through all rows.
See also: {ED} LoadDatabase ― {EF} FetchTableRow
Variable : Byte (hex)
Variable to store the number of rows the Table holds.
Table ID : Byte (hex)
Table ID as defined in the "Table Index" sheet of the Event Databases spreadsheet for the currently loaded Database.