Copy (RandomNumberGenerator function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Template:RandomNumberGenerator:Copy subtitle}} | {{Template:RandomNumberGenerator:Copy subtitle}} | ||
This method returns a RandomNumberGenerator object that is a copy | This method returns a <var>RandomNumberGenerator</var> object that is a copy | ||
of the method object. | of the method object. | ||
Line 10: | Line 10: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%newrand</th> | <tr><th>%newrand</th> | ||
<td>A RandomNumberGenerator object variable to contain the copied object. </td></tr> | <td>A <var>RandomNumberGenerator</var> object variable to contain the copied object. </td></tr> | ||
<tr><th>%rand</th> | <tr><th>%rand</th> | ||
<td>A RandomNumberGenerator object variable.</td></tr> | <td>A <var>RandomNumberGenerator</var> object variable.</td></tr> | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== |
Revision as of 21:50, 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.