[RFC, Fortran, (pr66775)] Allocatable function result

Dan Nagle danlnagle@mac.com
Sat Jul 11 11:58:00 GMT 2015


Hi,

> On Jul 11, 2015, at 04:36 , Andre Vehreschild <vehre@gmx.de> wrote:
> 
>> 
>>   "On completion of execution of the function, the value returned
>>    is that of its function result. ... If the function result is
>>    not a pointer, its value shall be defined by the function."
> 
> Now we can argue whether the "shall be defined" is to be interpreted as "has to
> be" or as "might be". For me - being a non-native English speaker - that "shall"
> is not an obligation but should be interpreted as "commonly the function result
> is to be defined, but there can be exceptions". Now I am curious about how
> native English speakers understand that standard statement.

The standard is written in standardese, not English.

“Shall” is a requirement.  Full stop.

--

Cheers!
Dan Nagle






More information about the Fortran mailing list