DeepCopy (RandomNumberGenerator function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision: CharacterMap, RandomNumberGenerator, StringTokenizer methods)
mNo edit summary
Line 1: Line 1:
<span style="font-size:120%; color:black"><b>"Deep copy" specified RandomNumberGenerator object</b></span>
<span style="font-size:120%; color:black"><b>"Deep copy" specified RandomNumberGenerator object</b></span>
[[Category:RandomNumberGenerator methods|DeepCopy function]]
[[Category:RandomNumberGenerator methods|DeepCopy function]]
[[Category:System methods]]
<!--DPL?? Category:RandomNumberGenerator methods|DeepCopy function: "Deep copy" specified RandomNumberGenerator object-->
<!--DPL?? Category:RandomNumberGenerator methods|DeepCopy function: "Deep copy" specified RandomNumberGenerator object-->
<!--DPL?? Category:System methods|DeepCopy (RandomNumberGenerator function): "Deep copy" specified RandomNumberGenerator object-->
<!--DPL?? Category:System methods|DeepCopy (RandomNumberGenerator function): "Deep copy" specified RandomNumberGenerator object-->

Revision as of 17:41, 31 December 2010

"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.