FUNCTION PBMAIN
'5.4 sec for 25,000 screen refresh using PB 3.5 For Dos
'76 sec for 25,000 screen refresh using PCcc 4.0
t1# = TIMER
DEFLNG a-z
COLOR 15,1
FOR z& = 1 TO 25000
CLS
LOCATE 10,10 : PRINT z&;" refresh event"
NEXT z&
t2# = TIMER
CLS
LOCATE 20,20 : PRINT "Refreshment Time:";t2#-t1#
WAITKEY$
END FUNCTION
During the process of converting from PB 3.5 for Dos to PBcc 4.0 a blink was most noticeable while generating a new screen display. The times for the above of 5 sec for PB 4 Dos and 76 sec for PBcc was unexpected. Should have I expected this or is my code just faulty. Your comments/suggestions are most welcome. I really don't like what what has come my way.
Thanks for all the valuable posting in the past.
Jack
'5.4 sec for 25,000 screen refresh using PB 3.5 For Dos
'76 sec for 25,000 screen refresh using PCcc 4.0
t1# = TIMER
DEFLNG a-z
COLOR 15,1
FOR z& = 1 TO 25000
CLS
LOCATE 10,10 : PRINT z&;" refresh event"
NEXT z&
t2# = TIMER
CLS
LOCATE 20,20 : PRINT "Refreshment Time:";t2#-t1#
WAITKEY$
END FUNCTION
During the process of converting from PB 3.5 for Dos to PBcc 4.0 a blink was most noticeable while generating a new screen display. The times for the above of 5 sec for PB 4 Dos and 76 sec for PBcc was unexpected. Should have I expected this or is my code just faulty. Your comments/suggestions are most welcome. I really don't like what what has come my way.
Thanks for all the valuable posting in the past.
Jack
Comment