The waitv Statement
The waitv statement acts like wait but it takes a variable argument. If you use a constant argument with waitv the compiler will generate a temporary variable for you. The syntax of the waitv statement is shown below.
waitv iDelay // wait for the number of milliseconds in iDelay