home bbs files messages ]

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,996 of 42,547   
   Herbert Kleebauer to Chris Roberts   
   Re: DOS Batch program countdown days unt   
   07 Feb 22 17:29:06   
   
   From: klee@unibwm.de   
      
   On 07.02.2022 15:31, Chris Roberts wrote:   
      
   > I see what you mean on the "numbers staring with "0" are octal" (That is why   
   it wouldn't work with "08" in retirement date. See, I am learned something   
   already... Thanks. )   
      
   set n=09   
   set /a m=1%n%-100   
   echo %n% - %m%   
      
      
   > set /a diff_y=%RetY%-%PresY%   
   > set /a diff_m=%RetM%-%PresM%   
      
   And if %PresM% is greater than %RetM%?   
      
   --- 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