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,625 of 5,127   
   Gary Scott to Lawrence D'Oliveiro   
   Re: Implicit Semicolons And Statement-Co   
   10 Feb 24 08:17:04   
   
   From: garylscott@sbcglobal.net   
      
   On 2/9/2024 10:51 PM, Lawrence D'Oliveiro wrote:   
   > On Fri, 9 Feb 2024 21:00:48 -0600, Gary Scott wrote:   
   >   
   >> They're also statement separators in Fortran.   
   >   
   > Section 6.3.2.5 of the Fortran 2018 spec, second paragraph:   
   >   
   >      A statement may alternatively be terminated by a “;” character   
   >      that appears other than in a character context or in a comment.   
   >      The “;” is not part of the statement. After a “;” terminator,   
   >      another statement may appear on the same line, or begin on that   
   >      line and be continued. A sequence consisting only of zero or more   
   >      blanks and one or more “;” terminators, in any order, is   
   >      equivalent to a single “;” terminator.   
   >   
   > Note it says “terminator”, not “separator”.   
   It terminates the statement, not the line.  It is common to place   
   multiple statements on one line with ; as the separator between the   
   multiple terminated statements on one line.   
      
   --- 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