Is it possible to have a GOTO command inside a subroutine which points to outside the subroutine?
In a subroutine, I have the following line:
IF(BN.GT.100000E+02) GOTO 1000
And there is no 1000 in that subroutine.
Another line in the same subroutine is:
There is no 5000 in the same subroutine but there are may 5000 in the main program.
It is sort of confusing for me but as the program is written by my professor, I can't easily say it is wrong.
Also if it possible, if there are more than 5000 in the main program, will it go to the next 5000 after call subroutine?