Copy (CharacterMap function)

From m204wiki
Revision as of 20:15, 16 December 2010 by Admin (talk | contribs) (1 revision: CharacterMap, RandomNumberGenerator, StringTokenizer methods)
Jump to navigation Jump to search

Copy specified CharacterMap object

Copy is a member of the CharacterMap class.

This method returns a CharacterMap object that is a copy of the method object.

For more information about copyability, see Copying objects.

Syntax

  %newmap = %map:Copy

Syntax terms

%newmap
A CharacterMap object variable to contain the copied object.
%map
A CharacterMap object variable.

Usage Notes

  • The method object (%rand) may be null. The output of a copy of a null object is a null object.
  • For an example of a Copy call, see the CharacterMap class page.