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 117,502 of 117,927   
   dxf to Hans Bezemer   
   Re: READ-LINE when u1=0   
   27 Jul 25 11:13:53   
   
   From: dxforth@gmail.com   
      
   On 26/07/2025 11:46 pm, Hans Bezemer wrote:   
   >   
   > 4tH   
   >  0 -> 0  1   
   > 10 -> 6  1   
   >  0 -> 0  1   
   >  1 -> 0  0   
      
   In my case it's ...   
      
    0 -> 0  0   
   10 -> 6  1   
    0 -> 0  0   
    1 -> 0  0   
      
   for two implementations and   
      
    0 -> 0  1   
   10 -> 6  1   
    0 -> 0  0   
    1 -> 0  0   
      
   for a third.   
      
   The reason it's a '1' is because my implementations return a ternary   
   that indicates EOL received, not received, or EOF.   
      
   Am I worried about the u1 = 0 result above?  Not until someone can   
   show u1 = 0 can happen or is meaningful.  I don't want to add code   
   for something I'll never use.  Was the ternary feature useful?   
   I'm still in the process of evaluating that.  OTOH it definitely   
   scratched an itch :)   
      
   --- 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