k, get it. thanks moa
Printable View
k, get it. thanks moa
I only use a goto when I use errorchecking. I place the errochecking at the end of a module and in the beginning I specify that on an error jump to the part that resolves the error to quit the module properly.Quote:
Originally Posted by lynnnow
The result will probably be the same but why not using the loop-commands that exists. Same with For Next, you can do it with a simple counter, If Then Else and a goto-label
That's the same discussion as why using case select when you can use if then else ?
I don't know it why, but I prefer it this way because it is clear that it is a loop and I don't have to search for the place of the goto-label to decide if it is a loop .
Charlize :2p:
Thanks charlize