Copy (RandomNumberGenerator function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 8: Line 8:
{{Template:RandomNumberGenerator:Copy syntax}}
{{Template:RandomNumberGenerator:Copy syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt><i>%newrand</i>
<tr><th><i>%newrand</i></th>
<dd>A RandomNumberGenerator object variable to contain the copied object.
<td>A RandomNumberGenerator object variable to contain the copied object. </td></tr>
<dt><i>%rand</i>
<tr><th><i>%rand</i></th>
<dd>A RandomNumberGenerator object variable.
<td>A RandomNumberGenerator object variable.</td></tr>
 
</table>
</dl>
==Usage notes==
==Usage notes==
<ul>
<ul>

Revision as of 19:48, 6 February 2011

Copy this RandomNumberGenerator (RandomNumberGenerator class)


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

For more information about copyability, see Copying objects.

Syntax

%outRandomNumberGenerator = randomNumberGenerator:Copy

Syntax terms

%newrand A RandomNumberGenerator object variable to contain the 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