Syntax
WAIT ( milliseconds )
Description
Delay program execution a number of milliseconds.
1000 milliseconds is one second
Example
Print tick once per second for ever.
WHILE 1
PRINT "tick"
WAIT(1000)
LOOP
Differences from other BASICs
- no equivalent in Visual BASIC
- PBASIC has a similar function PAUSE that uses a CPU dependent "tick"
value
See also