Guardian Procedure Calls Reference Manual

DEFINERESTOREWORK[2] Procedures
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Returned Value
Related Programming Manual
Summary
The DEFINERESTOREWORK procedure restores the working set from the background set. The
working set is the current set of attributes and their values. A background set is a scratchpad work
area used when creating DEFINEs.
The DEFINERESTOREWORK2 procedure allows a second background working set, saved by
DEFINESAVEWORK2, to be restored.
Restoring a background set to a working set does not change the content of the background set.
Syntax for C Programmers
#include <cextdecs(DEFINERESTOREWORK)>
short DEFINERESTOREWORK ( void );
#include <cextdecs(DEFINERESTOREWORK2)>
short DEFINERESTOREWORK2 ( void );
Syntax for TAL Programmers
error := DEFINERESTOREWORK[2];
Returned Value
INT
Outcome of the call:
Success.0
Unable to obtain file-system buffer space.2052
Unable to obtain physical memory.2053
For other error values associated with DEFINEs, see the Guardian Procedure Errors and Messages
Manual.
Related Programming Manual
For programming information about the DEFINERESTOREWORK[2] procedures, see the Guardian
Programmer's Guide.
284 Guardian Procedure Calls (D-E)