2.53. sleep.bas

[<<<] [>>>]

Running this program prints the numbers from 1 to 20 with 1 sec delay between them. Running this program from the documentation compilation increases the document compilation with 20 sec and is useless as we can not check interactively the delay between the printouts. Therefore here we list only the code and the result has to be checked separately.

Example sleep.bas :

for i=1 to 20
print i
print
sleep 1
next i


[<<<] [>>>]