(j3.2006) Syntax doesn't allow coindexed scalars?

Bill Long longb
Fri Jan 16 23:46:48 UTC 2009



Malcolm Cohen wrote:
> Aleksandar Donev wrote:
>   
>> On Thursday 15 January 2009 17:24, Malcolm Cohen wrote:
>>
>>   
>>     
>>> I seem to recall
>>> that it was deliberately decided to disallow a whole-array
>>> coreference (i.e. without a section-subscript-list)
>>>     
>>>       
>> Yes, this is on purpose. As one example, consider:
>>
>> array[5]=... ! array is an allocatable coarray
>>
>> where the right hand side does not match the size of the coarray. It
>> would need to cause remote reallocation.
>>     
> Why?  We disabled reallocation for allocatable coarray components, so 
> why would you expect reallocation of allocatable coarray named 
> variables?  

You would not. That is already covered by [155:14-15].  Covers both 
coarrays and coindexed objects.

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