_CP_interrupt

_CP_interrupt


C functions, integration Index Level C Functions introduction
Syntax int _CP_interrupt;
Category C Interface
Type Definition
Description is a global C integer which contains the last Pick interrupt that occured.

This value is that same as that returned by the FlashBASIC function "system(37)".

It is available when linking with the Pick libraries.  
Options
See Also C Functions introduction
Example /* The following example stops looping when some sort of interrupt occurs (like a break or a message). */

_CP_unix_env();
while (!_CP_interrupt)    sleep(1); /* wait for something */
printf("I woke up!!!!\n");
Warnings _CP_interrupt does not record non-Pick interrupts.
Compatibility AP 6.1
C functions, integration Index Level C Functions introduction