Copy (RandomNumberGenerator function): Difference between revisions
Jump to navigation
Jump to search
m (AllowNullObject methods) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
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> | ||
Line 18: | Line 21: | ||
<ul> | <ul> | ||
<li>The method object (<var class="term">randomNumberGenerator</var>) may be null. | <li>The method object (<var class="term">randomNumberGenerator</var>) may be null. | ||
The output of a copy of a | The output of a copy of a <var>Null</var> object is a <var>Null</var> object. | ||
</ul> | </ul> | ||
==See also== | ==See also== | ||
{{Template:RandomNumberGenerator:Copy footer}} | {{Template:RandomNumberGenerator:Copy footer}} |
Latest revision as of 21:19, 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.