Difference between revisions of "WAIT"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
imported>Clippy
Line 4: Line 4:
 
''Syntax:''
 
''Syntax:''
  
:WAIT &H3DA, 8 ' finishes whenever the screen isn't being written to and
+
:WAIT &H3DA, 8 ' finishes whenever the screen isn't being written to
 
:WAIT &H3DA, 8, 8 ' finishes whenever the screen is 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.
 +
 +
 +
==Navigation:==
 +
 +
[[Keyword_Reference_-_Alphabetical|Go to Keyword Reference - Alphabetical]]
 +
 +
[[Keyword Reference - By usage|Go to Keyword Reference - By usage]]

Revision as of 07:45, 15 September 2009

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.


Navigation:

Go to Keyword Reference - Alphabetical

Go to Keyword Reference - By usage