(j3.2006) question about assignment
Bill Long
longb at cray.com
Fri Mar 13 13:47:54 EDT 2009
In a simple, intrinsic assignment
a = b
is it required that b be defined? It seems not always, since a and b
could be structures with an allocatable component, and there is a
special case where the component of b being not allocated just causes
the corresponding component of a to be not allocated. However, the case
where a and b are allocatable and of intrinsic type is not as clear. If
b is not allocated, is the assignment legal and a becomes not allocated,
or is the assignment not legal?
Cheers,
Bill
--
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120
More information about the J3
mailing list