home bbs files messages ]

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

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

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

   Message 1,533 of 2,753   
   Frank Swarbrick to Louis Krupp   
   Re: Overloaded logic operators   
   27 Nov 08 22:05:10   
   
   From: fswarbrick@gmail.com   
      
   Louis Krupp wrote:   
   >    
   >> [The A < B < C syntax has been part of Cobol for many decades.  It seems   
   >> to work fine there. -John]   
   >   
   > Are you sure that's in COBOL?  It doesn't sound familiar, and I don't   
   > have a COBOL manual handy.   
   >   
   > Louis   
   > [Actually, it's in verbose Cobolese:   
   >   
   >  IF B IS GREATER THAN A AND LESS THAN C ...   
   >   
   > or   
   >   
   >  IF B > A AND < C ...   
   >   
   > -John]   
      
   Interesting.  I've been a Cobol programmer for twelve years and I've   
   never seen this type of coding, much less used it.  I just tried it,   
   though, and it does indeed work.   
      
   Learn something new every day...   
      
   --- 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