home bbs files messages ]

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

   comp.lang.fortran      Putting John Backus on a giant pedestal      5,127 messages   

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

   Message 4,809 of 5,127   
   Lawrence D'Oliveiro to Thomas Koenig   
   Re: Is there a way in Fortran to designa   
   26 Oct 24 20:23:45   
   
   From: ldo@nz.invalid   
      
   On Sat, 26 Oct 2024 11:51:42 -0000 (UTC), Thomas Koenig wrote:   
      
   > The "parameter adjustment" above is explicitly listed as undefined   
   > behavior, in annex J2 of n2596.pdf (for example):   
   >   
   > "Addition or subtraction of a pointer into, or just beyond, an array   
   > object and an integer type produces a result that does not point into,   
   > or just beyond, the same array object (6.5.6)."   
      
   Read it again: note the qualification “that does not point into, or just   
   beyond, the same array object”. So long as it *does* point “into, or just   
   beyond, the same array object”, it is fine.   
      
   --- 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