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,733 of 42,547    |
|    Anton Shepelev to All    |
|    Re: Turing-competeness of the batch lang    |
|    25 Aug 19 02:40:48    |
      From: anton.txt@gmail.com              Hello, all JJ to Anton Shepelev:              > > Is the MS-DOS batch language Turing-incomplete       > > because of the missing delayed expansion?       >       > Delayed Expansion is just an additional feature.       > You can produce the same result without it.              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%              --       () ascii ribbon campaign -- against html e-mail       /\ http://preview.tinyurl.com/qcy6mjc [archived]              --- 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