Copy (RandomNumberGenerator function): Difference between revisions
Jump to navigation
Jump to search
m (AllowNullObject methods) |
mNo edit summary |
||
Line 4: | Line 4: | ||
of the method object. | of the method object. | ||
For more information about copyability, see [[Copying objects]]. | For more information about copyability, see [[Copying objects|"Copying objects"]]. | ||
==Syntax== | ==Syntax== | ||
{{Template:RandomNumberGenerator:Copy syntax}} | {{Template:RandomNumberGenerator:Copy syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%outRandomNumberGenerator</th> | <tr><th>%outRandomNumberGenerator</th> | ||
<td>A <var>RandomNumberGenerator</var> 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>randomNumberGenerator</th> | <tr><th>randomNumberGenerator</th> | ||
<td>A <var>RandomNumberGenerator</var> object variable, which may be <var>Null</var>.</td></tr> | <td>A <var>RandomNumberGenerator</var> object variable, which may be <var>Null</var>.</td></tr> |
Revision as of 21:18, 6 November 2012
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
%outRandomNumberGenerator | A RandomNumberGenerator object variable to contain the copied object. |
---|---|
randomNumberGenerator | A RandomNumberGenerator object variable, which may be Null. |
Usage notes
- The method object (randomNumberGenerator) may be null. The output of a copy of a null object is a null object.