Hi Everyone
well I just added an on error resume next into a function that was running in a loop
my program slowed down by a factor of two! is that normal behaviour? any way to get around that?
Printable View
Hi Everyone
well I just added an on error resume next into a function that was running in a loop
my program slowed down by a factor of two! is that normal behaviour? any way to get around that?
if there is an error in the loop, it would start from the next step (taking time to process where to go) then do it however many times in the loop. In conclusion, possibly
there was no error :) I ran it without it...
Yes, On Error is one of the worst things in VB, its wy they got rid of it in VB.net
alright
thanks
Pffffft!! Don't believe that for a minute... show me the numbers.Quote:
Originally posted by Nirces
Yes, On Error is one of the worst things in VB, its wy they got rid of it in VB.net
well I had it in a loop doing some pixel manipulation
they were going real smooth on my 1400Mhz Pc. When I put the on error thing it slowed down a lot. Everything started hm well I guess the word would be jerking...? (not a native speaker)
Try moving it outside the loop. Put it right before the loop starts.
the loop's in a loop :)
well I don't use it anyways, since I did not get errors anyways :)
just wanted to know...