restore Command

Restores file status.

Scope: File

Syntax

Description

The restore command sets selected Editor settings to the value they had when the preserve command was last issued. Editor settings that can be preserved and restored are listed under the reset command.

Example

Use the preserve command to save the current state of the view. Change the settings to perform a task using the macro, then use restore to restore the settings to the way they were at the time of the preserve command.

API Return Codes

-2 
A preserve command must be issued before you may issue a restore command.
-9 
Parameter passed where none required.

reset Command
preserve Command