table.Copy

From Garry's Mod
Revision as of 15:28, 22 October 2016 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 table.Copy( )

Contents

Description

Creates a deep copy and returns that copy.

WARNING

This function does NOT copy userdata, such as Vectors and Angles!

Arguments

table originalTable

The table to be copied.

Returns

table

A deep copy of the original table

Examples

Example

Creates a deep copy of table A

B = table.Copy(A)


Personal tools
Navigation