This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: default return value of ubound and lbound


On Jun 2 2012, Tobias Burnus wrote:

I admit the distinction between an array with one element and a scalar can be confusing, but Fortran does make this distinction.

Given the rest of the language, which has evolved over a long time, it is less confusing than the converse. I thought about that a while back, and adding Algol 68's rowing coercion would create ten times as many problems as it would solve. It's the sort of extension that gfortran shouldn't consider.


Regards, Nick Maclaren.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]