Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,734 of 42,547    |
|    Herbert Kleebauer to Anton Shepelev    |
|    Re: Turing-competeness of the batch lang    |
|    25 Aug 19 12:37:42    |
      From: klee@unibwm.de              On 25.08.2019 01:40, Anton Shepelev wrote:              > Interesting. How, for example, to sum the numbers       > without it:       >       > SETLOCAL EnableDelayedExpansion       > SET S=0;       > for /L %%i IN (1,1,5) DO SET /A S=!S!+%%i       > echo %S%                     SET S=0;       for /L %%i IN (1,1,5) DO SET /A S=S+%%i       echo %S%              --- 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