Article ID: 155085
Article Last Modified on 12/14/1999
Loop Product Time
-------------- ------------------------------- --------
WAIT WINDOW Visual FoxPro 3.0 Power Mac 31.4
WAIT WINDOW FoxPro 2.6 Power Mac 3.1
SET MESSAGE Visual FoxPro 3.0 4.2
SET MESSAGE FoxPro 2.6 Power Mac 3.3
NOTE: With different hardware or shorter string lengths, the disparity in
display speed between these two methods may not be as dramatic.
* WAIT WINDOW
nStart = SECONDS()
FOR x = 1 to 1000
WAIT WINDOW REPLICATE( 'X', MOD( x, 10)) NOWAIT && cycling string
ENDFOR
? "Time in seconds to run 1000 WAIT WINDOWs: "
?? SECONDS() - nStart
* SET MESSAGE
nStart = SECONDS()
FOR x = 1 to 1000
SET MESSAGE TO REPLICATE( 'X', MOD( x, 10)) && cycling string
ENDFOR
? "Time in seconds to run 1000 SET MESSAGEs: "
?? SECONDS() - nStart
Additional query words: vfoxmac kbdse
Keywords: KB155085