copyTable: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "source>" to "syntaxhighlight>") |
|||
Line 9: | Line 9: | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
copyTable(old name, newname) | copyTable(old name, newname) | ||
</ | </syntaxhighlight> | ||
'''Parameter''' | '''Parameter''' | ||
{{param|oldname|The name of the existing table. It's an error if the table doesn't exist.}} | {{param|oldname|The name of the existing table. It's an error if the table doesn't exist.}} |
Revision as of 17:11, 14 March 2023
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples of usage.
copyTable() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.5.0
Copies a MapTool table to a new name.
Usage
<source lang="mtmacro" line> copyTable(old name, newname) </syntaxhighlight> Parameter
oldname
- The name of the existing table. It's an error if the table doesn't exist.newname
- The name of the new table to be created. It's an error if the table already exists.