DeepCopy (RandomNumberGenerator function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 9: Line 9:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th><i>%newrand</i></th>
<tr><th>%newrand</th>
<td>A RandomNumberGenerator object variable to contain the deep copied object. </td></tr>
<td>A RandomNumberGenerator object variable to contain the deep copied object. </td></tr>
<tr><th><i>%rand</i></th>
<tr><th>%rand</th>
<td>A RandomNumberGenerator object variable.</td></tr>
<td>A RandomNumberGenerator object variable.</td></tr>
</table>
</table>

Revision as of 19:50, 6 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

%newrand A RandomNumberGenerator object variable to contain the deep copied object.
%rand A RandomNumberGenerator object variable.

Usage notes

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

See also