[comp.lang.fortran] Object-oriented DATA statement in F

hirchert@uxe.cso.uiuc.edu (02/04/88)

>Could someone please explain for me the purpose of the
>"object-oriented" DATA statement in the FORTRAN 8X draft standard?
>(It's described in section 5.2.6.2 .)  What can it do that the
>list-oriented DATA statement couldn't have been extended to do?
>			       Mark Israel
>
>Bitnet:  USERISRA@UALTAMTS
>Usenet:  ihnp4!alberta!uqv-mts!Mark_Israel
There are a number of small things, but the most obvious is that the
"object-oriented" DATA statement allows constant expressions while the
traditional DATA statement allows only constants.  The fact that '/' and
'*' are part of the syntax of the traditional DATA statement would have made
extending it to expressions difficult.  If such an extension were made, its
use would likely have proved error prone.

Kurt W. Hirchert         National Center for Supercomputing Applications