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 2,003 of 2,753   
   Nils M Holm to compilers@is-not-my.name   
   Re: First language with conditional assi   
   04 Mar 11 17:00:50   
   
   From: nmh@t3x.org   
      
   compilers@is-not-my.name wrote:   
   > Does anyone know what the earliest languages supporting conditional   
   > assignment were? Although the construct is useful I don't like the syntax in   
   > C-like languages. I am curious if there were earlier examples and what the   
   > syntax was.   
      
   In case you meant conditional expressions like C's   
      
   	predicate? consequent: alternative   
      
   then BCPL had   
      
   	predicate-> consequent: alternative   
      
   in 1966 and and LISP had   
      
   	(COND (predicate1 expression1) ...)   
      
   in 1960.   
      
   --   
   Nils M Holm      < n m h @ t 3 x . o r g >      www.t3x.org   
   May all beings be happy, peaceful, and free from suffering!   
      
   --- 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