Silverfrost Logo About Us | Contact Us
 

GET_WKEY@

Platform

Win32(ClearWin+)

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). 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@

 

 

Copyright © 1999-2017 Silverfrost Limited