Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (D-E)
Guardian Procedure Calls Reference Manual522629-013
4-24
DEFINEMODE Procedure
DEFINEMODE Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
This procedure allows the caller to control the use of DEFINEs (the DEFINE mode of
the process). See the
Guardian Programmers Guide for details on the DEFINE mode
and its effects.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT
indicates the outcome of the call:
0 Success
2067 The value supplied in
new-value is invalid
new-value input
INT:value
is 0 to disable DEFINEs, and 1 to enable DEFINEs. Note that when setting this
value you should see that the desired DEFINEs are propagated and usable. Refer
to the
Guardian Programmer’s Guide for further information.
#include <cextdecs(DEFINEMODE)>
short DEFINEMODE ( [ short new-value ]
,[ short _near *old-value ] );
error := DEFINEMODE ( [ new-value ] ! i
,[ old-value ] ); ! o