GET_WKEY@

Platform

Win32, x64

Purpose

To get a key from a ClearWin window keyboard buffer.

Syntax

INTEGER FUNCTION GET_WKEY@( )

Description

This routine is only for use in a ClearWin window (e.g. with %cw (ClearWin Window)). If necessary, it waits for the user to press a key on the keyboard. However, the routine will yield to other processes.

Notes

ADD_KEYBOARD_MONITOR@ provides a better mechanism for handling keyboard input.

Return value

Returns the ASCII code for the first key and removes it from the buffer.

See also

FEED_WKEYBOARD@, FLUSH_WKEYBOARD@, GET_WKEY1@, WKEY_WAITING@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited