Copy (RandomNumberGenerator function)

From m204wiki
Revision as of 17:59, 10 December 2010 by 198.242.244.47 (talk) (Created page with "<span style="font-size:120%; color:black"><b>Copy specified RandomNumberGenerator object</b></span> Copy function [[Category:System met...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Copy specified RandomNumberGenerator object

Copy is a member of the 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

  %newrand = %rand: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.