Hi all,
I'm using...
@echo off
echo Calling a subroutine.
gosub subr1
echo Returned from the subroutine.
Pause
:subr1
echo In the subroutine.
return
... but I get ...
Calling a subroutine
'gosub' is not recognized as an internal or external command, operable program of batch file
[etc.]
Is this a CMD version issue? Why isn't GOSUB recognised?
Thanks.