CImCombine:new
The new method creates an instance of the CImCombine class. You must call new before using any class methods or properties. Note that this object can also be created using the new_imcombine function.
C = CImCombine:new() Creates a default CImCombine with properties initialized to default values. C = CImCombine:new( CImCombine_old ) This is a copy constructor. It creates a new CImCombine C initialized to the members of the CImCombine_old argument. |
Two overloads are provided for the CImCombine class. They create a default CImCombine and a copy of a CImCombine. If you pass something other than nil or another CImCombine—such as a string—then the default constructor is used.
The following script illustrates using both constructors. All produce the same result:
|
-- create CImCombine C1 and initialize |
|
-- enable verbose listing of results |
|
-- copy C1 to a new CImCombine C2 |
|
-- result: C1 sign = 1 |
|
-- result: C2 sign = 1 |
CImCombine class, delete, new_imcombine
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.