WAIT

From QB64 Wiki
Revision as of 07:46, 15 September 2009 by imported>Clippy
Jump to navigation Jump to search

The WAIT statement either waits for the monitor's vertical retrace to begin or end.


Syntax:

WAIT &H3DA, 8 ' finishes whenever the screen isn't being written to
WAIT &H3DA, 8, 8 ' finishes whenever the screen is being written to


  • Either statement can be used to try to reduce screen flickering.
  • If both statements are used, try changing the order.


See also: Scancodes(demo)


Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage