home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

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

   Message 116,645 of 117,927   
   Buzz McCool to dxf   
   Re: Average of a [stack]   
   19 Jul 24 08:15:32   
   
   From: buzz_mccool@yahoo.com   
      
   On 7/18/2024 6:49 PM, dxf wrote:   
   >   
   > While c.l.f. challenges are often couched in terms of items on a stack,   
   > one is more likely to be dealing with data in memory and a count.   
   > Shifting the operation to the stack (assuming that's even viable) strikes   
   > me as unnecessary.   
      
   In this instance, I was using Forth as a scientific calculator that I   
   could easily show the data input, algorithm, and output results in a   
   reproducible and sharable fashion.   
      
   I stumbled upon the "Average of a list" thread from last month and took   
   advantage of the discussion to get the knowledgeable c.l.f denizens to   
   whittle down my naive code to its essentials and learn fish for myself a   
   bit better in the future. Many thanks you and all who take the time to   
   teach or opine.   
      
   --- 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