clearTable: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{MacroFunction |name=clearTable |version=1.4.0.1 |description= Removes all rows from the specified table. May only be used by GM or a trusted macro. |usage= <source lang="mtm...") |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|name=clearTable | |name=clearTable | ||
|version=1.4.0.1 | |version=1.4.0.1 | ||
|trusted=true | |||
|description= | |description= | ||
Removes all rows from the specified table | Removes all rows from the specified table. | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
clearTable(tableName) | clearTable(tableName) | ||
</ | </syntaxhighlight> | ||
'''Parameters''' | '''Parameters''' | ||
{{param|tableName|A string containing the name of the Table.}} | {{param|tableName|A string containing the name of the Table.}} | ||
|also= | |also= | ||
{{func|deleteTableEntry}} {{func|deleteTable}} | |||
}} | }} | ||
[[Category:Table Function]] | [[Category:Table Function]] |
Latest revision as of 23:59, 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.