Delays - ozarchie/BlueBasic GitHub Wiki

Syntax

DELAY <timeout in milliseconds>

Description

It's often useful to pause your program for a short time. To do this we use DELAY.
This command causes the program to pause for timeout milliseconds and then continue operation.

For example:

1000 PRINT "Hello again"
1010 DELAY 2000
1030 GOTO 1000

The above prints "Hello again". It then waits 2000 milliseconds and continues to line 1030 which causes it to loop again.