Print

Print


From:	SMTP%"[log in to unmask]" 15-FEB-2000 23:15:34.49

> >What do folks think of using [] or {} (which are not part of the Fortran 
> >character set at present) to replace parentheses in cases where the 
> >programmer wants to tell the compiler "these parentheses are here so I 
> >can write in `mathematical shorthand'; 
> 
> There is some irony here given what FORTRAN stands for.
> 
> Since () give you all you need to express what you want
> I don't see much point in proposing this.

Actually, () expresses MORE than what one might want.

A*(B+C) has to evaluate (B+C) first; it cannot be transformed to
A*B + A*C whereas in pure FORmula TRANslation it could.

> Maybe one day we get them for
> intervals.

Right.  [] is also in Co-Array Fortran.  So it's {}?!?!??!



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%