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,951 messages   

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

   Message 117,207 of 117,951   
   Paul Rubin to Anton Ertl   
   Re: "The Best Programming Language for t   
   15 Apr 25 17:32:34   
   
   From: no.email@nospam.invalid   
      
   anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:   
   >>What happens for "10_ 20_ + ." ?   
   > It outputs 30, too.  The intended use of _ in Gforth is like this:...   
   > What does your underlying mental model say how things should work?   
      
   One model is to ignore _ as gforth appears to.  Another is that _ is a   
   separator character, ignored when it appears between two digits, but   
   meaningful or an error at the starting or ending position.  That is how   
   Python 3 appears to work.  1_0 is the same as 10, but 10_ is a syntax error.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca