(j3.2006) example program for interp F08/0144

Robert Corbett robert.corbett
Fri Oct 2 01:46:26 EDT 2015


The attached program tests a few cases of the rules for assignment as stated in 
the Fortran 2003 and 2008 standard.  I believe a strict reading of the standard 
requires the program, barring exceptional occurrences, to write something like

  3
  3
  2
  3
  2 2

The output written by Oracle Solaris Studio Fortran is

  3
  3
  3
  3
  3 3

I would like to know if any implementation prints the output specified by the 
standards.

Robert Corbett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloc.f
Type: text/x-fortran
Size: 989 bytes
Desc: not available
Url : http://mailman.j3-fortran.org/pipermail/j3/attachments/20151001/2662a038/attachment.bin 



More information about the J3 mailing list