copyTable: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Created page with "{{stub|Examples of usage.}} {{MacroFunction |name=copyTable |version=1.5.0 |trusted=true |description=Copies a MapTool table to a new name. |usage= <source lang="mtmacro" lin...")
 
m (Conversion script moved page copyTable to CopyTable without leaving a redirect: Converting page title to first-letter uppercase)
(No difference)

Revision as of 22:32, 9 February 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

copyTable(old name, newname)

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.