real class : Clone() method

Description

Gets a new instance with the same value as the calling instance.

Syntax

realInstance.Clone()

Arguments

None

Return value

ClassDescription
realA new instance with the same value as the calling instance.

Sample code

//anyReal is a instance of real type.

real newInstance = anyReal.Clone();

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.