home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
basic
/
library
/
qb_pds
/
quicksub
/
delay.sub
< prev
next >
Wrap
Text File
|
1986-06-12
|
512b
|
13 lines
' DELAY.SUB -- MSDOS QuickBASIC subroutine to provide a time delay that
' correlates with the variable, DLY; e.g. entering the
' subroutine with DLY = 7 should delay 7 seconds. This is
' machine dependent -- the factor 1585 works for my 8 mhz
' speed and a V20. Experiment and adjust the factor for
' your system.
'| Time Delay Subroutine
DELAY:
FOR T = 1 TO DLY * 1585 : NEXT T
RETURN