clearTable: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page ClearTable to clearTable: Converting page titles to lowercase)
m (Text replacement - "source>" to "syntaxhighlight>")
Line 8: Line 8:
<source lang="mtmacro" line>
<source lang="mtmacro" line>
clearTable(tableName)
clearTable(tableName)
</source>
</syntaxhighlight>
'''Parameters'''
'''Parameters'''
{{param|tableName|A string containing the name of the Table.}}
{{param|tableName|A string containing the name of the Table.}}

Revision as of 17:06, 14 March 2023

clearTable() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.4.0.1
Removes all rows from the specified table.

Usage

<source lang="mtmacro" line> clearTable(tableName) </syntaxhighlight> Parameters

  • tableName - A string containing the name of the Table.


See Also