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,010 of 2,753   
   1Z to noitalmost   
   Re: In a Pascal-like language, would bei   
   11 Mar 11 16:49:30   
   
   From: pdjpurchase@googlemail.com   
      
   On Mar 11, 7:15 pm, noitalmost  wrote:   
   > I was thinking of something like:   
   > pure function foo(x,y : int) int   
   > begin   
   > ...   
   > end;   
   >   
   > Then foo isn't allowed to modify its parameters or to reference   
   > (except possibly through a parameter) or modify any non-local   
   > variables. ...   
      
   This has been added as a non standard extension to C in gcc, so it is   
   doable.  I think it is useful, since you don't have to use it if your   
   don't want to.   
      
   --- 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