Difference between revisions of "GetTableSize"
Jump to navigation
Jump to search
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. |
− |
Revision as of 07:24, 22 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.