|
|
|
|
|
CancelAWPContext (Function) In french: AnnuleContexteAWP GLOBAL
gsMyGlobal is string
IF DeclareAWPContext(gsMyGlobal) = False THEN
gsMyGlobal = InitialValue()
END
...
IF bError = True THEN
CancelAWPContext(gsMyGlobal)
END
Syntax
CancelAWPContext([<Name of variable 1> [... [, <Name of variable N>]]])
<Name of variable 1>: Type of variable (optional parameter) Name of the first variable that must be deleted from the context. <Name of variable N>: Type of variable (optional parameter) Name of the Nth variable that must be deleted from the context. Remarks - No error occurs if the variable does not exist.
- If no variable is specified, the entire session is canceled: all the stored variables are lost and the session file is destroyed. To handle a session again, you must use ConfigureAWPContext.
- If your project uses pre-launched sessions, this function must not be used in the project initialization event. This function must be used in the "Initialization in pre-launched session mode" event.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|