You can put the codes under Label_Error
in a separate function, say CatchError()
. Then, replace every line of your goto label_error
statement with a statement calling the CatchError
function. This would be much more readable and at the same time avoid all the pitfalls of goto
.
E
engchin
@engchin
Posts
-
Where Is IntelliSense For "goto" statements?