DeepCopy (RandomNumberGenerator function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
Line 17: Line 17:
==Usage notes==
==Usage notes==
<ul>
<ul>
<li>The method object (randomNumberGenerator) may be null.
<li>The method object (<var class="term">randomNumberGenerator</var>) may be null.
The output of a copy of a null object is a null object.
The output of a copy of a null object is a null object.
</ul>
</ul>

Revision as of 21:09, 24 February 2011

Deep copy this RandomNumberGenerator (RandomNumberGenerator class)


This method returns a RandomNumberGenerator object that is a deep copy of the method object.

For more information about copyability, see Copying objects.

Syntax

%outRandomNumberGenerator = randomNumberGenerator:DeepCopy

Syntax terms

%outRandomNumberGenerator A RandomNumberGenerator object variable to contain the deep copied object.
randomNumberGenerator A RandomNumberGenerator object variable.

Usage notes

  • The method object (randomNumberGenerator) may be null. The output of a copy of a null object is a null object.

See also