home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   BATPOWER      Batch Language Programming      216 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 19 of 216   
   Paul Quinn to Richard Webb   
   from the hints and kinks department   
   22 Apr 11 09:48:00   
   
   Hi! Richard,   
      
   In a message to All you wrote:   
      
    RW> But, Timo's function evaluator was giving me weird numbers,   
    RW> almost like it couldn't add or subtract anymore.   
      
    RW> So, we played with it in test mode for awhile, then discovered that    
    RW> if we express the equation fully algebraic as in   
      
    RW> fn /b %COUNTER%+-%ID% >> checknum.txt   
      
    RW> we suddenly get the right answer.   
      
   I had nearly the same problem about two years ago, when I was doing some   
   simple text file manipulation with newsgroup posts (really, really simple   
   stuff BTW).  You may recall that I like to use Greg Miskelly's PSIS.COM in a   
   lot of my batches for simple maths functions(?).  Well, back then I found it   
   was either not working at all or was giving strange results (can't recall).  I   
   ended up having to resort to using Horst's COUNT.COM instead.  Not that I mind   
   doing that, of course.  In fact, the only external utils I used in the batch   
   besides FIND were all Horst's: COUNT, LMOD & NSET.  [big grin]   
      
    RW>    
      
   Yep, and much teeth grinding, nail biting & hair pulling no doubt.  Been   
   there; done that.   
      
    RW> Fun with my morning coffee.   
      
   Thank you.  I was just enjoying mine too.   
      
   Cheers,   
   Paul.   
      
   ---    
    * Origin: C code.  C code run.  Run code, run!@?#$%?&*! (3:640/384)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca