FLUSH DEVICE EVENTS
CALL SEQUENCE
PFLUSH (WKID, ICL, IDNR)
INPUT PARAMETERS
INTEGER WKID
INTEGER ICL
INTEGER IDNR
ARGUMENTS
- WKID
- Workstation identifier.
- ICL
- Input device class
- PNCLAS:
- 0 (NONE)
- PLOCAT:
- 1 (LOCATOR)
- PSTROK:
- 2 (STROKE)
- PVALUA:
- 3 (VALUATOR)
- PCHOIC:
- 4 (CHOICE)
- PPICK:
- 5 (PICK)
- PSTRIN:
- 6 (STRING)
- IDNR
- Logical input device number.
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Destroys all ICL class events in the input queue which come from the
logical input device IDNR on workstation WKID.
Note:
Operation takes place even if the event queue is full (error 256).
Example:
C Flush LOCATOR event into the PHIGS event queue for device number 2 on workstation 1
INTEGER WKID,ICL,IDNR
......
WKID = 1
IDNR = 2
ICL = PLOCAT
call PFLUSH(WKID,ICL,IDNR)
......
ERRORS
- 3
Ignoring function, function requires state (PHOP, WSOP,*,*)
- 54
- Ignoring function, the specified workstation is not open
- 61
- Ignoring function, specified workstation is neither of category INPUT nor
of category OUTIN
- 250
- Ignoring function, the specified device is not available on the specified
workstation
- 256
- Warning, the input queue has overflowed
SEE ALSO
set locator mode, set stroke mode, set valuator mode, set choice mode, set pick
mode, set string mode, get locator, get stroke, get valuator, get choice, get
pick, get string , await event, inquire more simultaneous events