Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,356 of 68,980    |
|    Sponge Belly to All    |
|    Re: GOTO and non existant label    |
|    07 Jan 19 11:16:34    |
      From: sponge.belly@mailinator.com              Hello All!              Icymi, using GOTO without a label in a subroutine has the       side-effect of executing any following commands on the same line in       caller context. Dave Benham explored this undocumented behaviour in       this DosTips topic:              https://www.dostips.com/forum/viewtopic.php?f=3&t=6497              and used it to create a kind of primitive exception handling for       Batch files.              HNY!              - SB              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca