Do and GOTO
Major difference between GOTO and do command?
Discussion (5)0
Comments
When you GOTO you never come back.
With a DO you do.
DO increases stack, GOTO doesn't.
With DO you can pass parameters into method or procedure/function and get the result back, with GOTO you can't.
NOTE:
Expert programmers try to keep away from using GOTO because it can break greatly the code workflow consistency. This is a basic concept for using structured programming.
So, before you think about using it, try to render the same effect using subroutines and methods instead.