R
Rich Grise
I recently wrote a Visual Basic 6 test program, and I used one goto to loop the
sequence of tests back to the top to wait for the next circuit board to be
installed. This main loop called the subroutines that did the actual testing,
however it was still about 200 lines of code long,
If you have one loop that's 200 lines long, then you're doing something
wrong. There's this little trick, called "subroutines", or sometimes
"functions".
And a "GOTO" at the end of it destroys your continuity. A Wend closes the
loop. A GOTO can go anywhere, and is more likely to leave crap on the
stack from the call it's pooping out of. It's a serious bug hole, and
hellishly difficult to debug.
Good Luck!
Rich