Thursday, July 21, 2016

Using Goto




Seeing this comic strip reminds me of a "DOS" command "goto". I have changed the fonts and make the words bigger.


In the example below, the batch file would only print "DONE", skipping anything that is between the GOTO and the GOTO target label.

GOTO END
ECHO SKIPPING THIS
:END
ECHO DONE




- wong chee tat :)

No comments: