GET_WKEY1@

Platform

Win32, x64

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 (ClearWin Window)). 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@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited