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,411 of 2,753   
   glen herrmannsfeldt to Michiel   
   Re: Number of compiler passes   
   29 Jul 08 11:02:51   
   
   From: gah@ugcs.caltech.edu   
      
   Michiel wrote:   
   (snip)   
      
   > If it cannot be a an r-value, it is a writeonly expression. This is seen   
   > less often, but can occur for formal parameters of the 'out' direction. (As   
   > opposed to 'in' or 'inout'.) Or for properties that have a setter method   
   > but no getter method.   
      
   I believe for Fortran INTENT(OUT) dummy variables, you must   
   write first, but you can then read the value just as any other   
   variable.  They are not write-only.   
      
   Among other reasons, Fortran allows either call by reference   
   or call by value result (sometimes called copy-in copy-out).   
   In the latter case, INTENT(OUT) might not do the copy in.   
   It can also affect the way the optimizer works.   
      
   -- glen   
      
   --- 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