Table 3–1: File-specific Events
Event
|
Operation
|
NEW
|
Called after a new window/dialog box is created.
|
OPEN
|
Called after a file has been opened.
|
BEFORE-OPEN
|
Called before a file is to be opened; returning p_ok as FALSE cancels the operation.
|
CLOSE
|
Called after a window or buffer has been closed.
|
BEFORE-CLOSE
|
Called before a file is to be closed; returning p_ok as FALSE cancels the operation.
|
SAVE
|
Called after a file has been saved.
|
BEFORE-SAVE
|
Called before a file is to be saved; returning p_ok as FALSE cancels the operation.
|
COMPILE
|
Called after a file has been compiled.
|
BEFORE-COMPILE
|
Called before a file is to be compiled; returning p_ok as FALSE cancels the operation.
|
RUN
|
Called after RUN of file has ended.
|
BEFORE-RUN
|
Called before a file has been written to disk for a run; returning p_ok as FALSE cancels the operation.
|
DEBUG
|
Same as RUN, except that DEBUG has been chosen; returning p_ok as FALSE cancels the operation.
|
BEFORE-DEBUG
|
Same as BEFORE-RUN, except DEBUG is chosen.
|
CHECK-SYNTAX
|
Called after a Check Syntax.
|
BEFORE-CHECK-SYNTAX
|
Called before a Check Syntax; returning p_ok as FALSE cancels the operation.
|
CHECK-SYNTAX-PARTIAL
|
Called after a Partial Check Syntax.
|
BEFORE-CHECK-SYNTAX-PARTIAL
|
Called before a Partial Check Syntax; returning p_ok as FALSE cancels the operation.
|