Enables a COBOL program to stop or suspend animation.
Note: This routine is supported for native COBOL only.
Syntax:
CALL "CBL_DEBUG_STOP" using by value flags
returning status-code
Parameters:
- flags
- Using call prototype (see
Key) : cblt-os-flags
- Picture: pic x(4) comp-5 (or pic x(8) comp-5 for 64-bit native programs only)
- status-code
- See
Library Routines - Key
On Entry:
- flags
- Controls how animation stops. You can set the following bits:
-
Bit
|
Meaning
|
0
|
Animator detaches.
|
1
|
Animator terminates.
|
Comments:
If the program is being debugged when it calls CBL_DEBUG_STOP, then animation stops. The effect on Animator and the program that called CBL_DEBUG_STOP depends on the settings of bits 0 and 1 of flags:
If the program is not being debugged when it calls CBL_DEBUG_STOP, then execution continues as if the routine had not been called.