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,886 of 68,980    |
|    Kenny McCormack to Zaidy036@air.isp.spam    |
|    Re: Call Subroutine from another Subrout    |
|    29 Jun 22 19:29:06    |
   
   From: gazelle@shell.xmission.com   
      
   In article ,   
   Zaidy036 wrote:   
   >Is it possible to call a Subroutine from inside another Subroutine?   
   >   
   >Example:   
   >:: Main batch   
   >CALL :_One   
   >some commands   
   >CALL :_TWO   
   >some commands   
   >EXIT or CMD /K   
   >   
   >:_One   
   >some commands   
   >GOTO :EOF   
   >   
   >:_Two   
   >some commands   
   >CALL :_One <------ Will not work so how can this be done?   
   >GOTO :EOF   
      
   I think it should work. What happens when you try it?   
      
   --   
   The randomly chosen signature file that would have appeared here is more than 4   
   lines long. As such, it violates one or more Usenet RFCs. In order to remain   
   in compliance with said RFCs, the actual sig can be found at the following URL:   
    http://user.xmission.com/~gazelle/Sigs/ForFoxViewers   
      
   --- 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