clearTable: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Text replacement - "source>" to "syntaxhighlight>")
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 6: Line 6:
Removes all rows from the specified table.
Removes all rows from the specified table.
|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
clearTable(tableName)
clearTable(tableName)
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 21:18, 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

clearTable(tableName)

Parameters

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


See Also