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,641 of 117,927   
   dxf to minforth   
   Re: Conditional compilation   
   26 Oct 25 01:17:59   
   
   From: dxforth@gmail.com   
      
   On 25/10/2025 11:51 pm, minforth wrote:   
   > Am 25.10.2025 um 13:36 schrieb dxf:   
   >> Put the following into a file and then load it:   
   >>   
   >> 1   
   >>   
   >> 0 [IF]   
   >>   
   >> 2   
   >>   
   >> 0 [IF]   
   >>   
   >> 3   
   >>   
   >> [THEN]   
   >>   
   >> .S   
   >>   
   >>   
   >> I'm stunned at how many forths won't handle it.  Caught me by surprise.   
   >   
   > During compilation I get "unexpected end of file" which is correct   
      
   The implementation ANS-Forth provides in A.15.6.2.2533 leaves a 1 on the stack   
   albeit undisplayed.   
      
   --- 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