DeepCopy (RandomNumberGenerator function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
%newrand = %rand:DeepCopy | %newrand = %rand:DeepCopy | ||
===Syntax terms=== | ===Syntax terms=== | ||
< | <table class="syntaxTable"> | ||
< | <tr><th><i>%newrand</i></th> | ||
< | <td>A RandomNumberGenerator object variable to contain the deep copied object. </td></tr> | ||
< | <tr><th><i>%rand</i></th> | ||
< | <td>A RandomNumberGenerator object variable.</td></tr> | ||
</table> | |||
</ | |||
===Usage Notes=== | ===Usage Notes=== | ||
<ul> | <ul> |
Revision as of 19:49, 6 February 2011
"Deep copy" specified RandomNumberGenerator object
DeepCopy is a member of the 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
%newrand = %rand: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.