CImCombine:GetErrorMsg CImCombine:SaveState

CImCombine:RestoreState


The RestoreState method restores the state all member variables previously saved using the SaveState() method.

Syntax

CImCombine:SaveState()

Remarks

This method restores all class members to their state when the SaveState method was used.

Example

The following script fragment Saves and Restores the state of the CImCombine class:

 

C = CImCombine:new()

-- create a CImCombine

C:SaveState()

-- preserves the state of the class

  ...

-- change member values, apply methods as needed.

C:RestoreState()

-- restores the state of the class

Related Topics

CImCombine, SaveState