
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> swpgetkey()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SWPGETKEY()
------------------------------------------------------------------------------
Purpose:
Enable / disable waiting for a keypress before restoring the parent image.
Syntax:
lValue = SWPGETKEY(lValue)
Parameters:
lValue Enable / disable indicator.
Returns:
The previous setting.
Default:
Disabled.
Description:
This function enables / disables waiting for a keystroke by the swap system
before reloading the parent process. The video mode will be restored after
the key press (if saving of the video mode is enabled). This function can
be used to pause with a graphics image displayed.
Example:
SWPGETKEY(.T.) // Wait for keypress
SWPVIDMDE(.T.) // Save video mode
SWPRUNCMD("SHOWIMG NICEONE.IMG",0,"","")
See Also: SWPDISMSG()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson