Silverfrost Logo About Us | Contact Us
 

GET_WKEY1@

Platform

Win32(ClearWin+)

Purpose

To get a key from a ClearWin window keyboard buffer.

Syntax

INTEGER FUNCTION GET_WKEY1@( )

Description

This routine is only for use in a ClearWin window (e.g. with %cw). It is like GET_WKEY@ but immediately returns zero if the buffer is empty.

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. If the buffer is empty it returns zero.

See also

FEED_WKEYBOARD@, FLUSH_WKEYBOARD@, GET_WKEY@, WKEY_WAITING@

 

 

Copyright © 1999-2017 Silverfrost Limited