make i:j equivalent to [(k,k=i,j)]?
- From: beliavsky@xxxxxxx
- Date: 30 Oct 2006 15:00:28 -0800
Would it break anything in Fortran to make an expression
i:j
equivalent to the array constructor
[(k,k=i,j)]
The R programming language, which has a matrix language similar to
Fortran, effectively does this. I know that "not breaking" is not by
itself sufficient reason to add "syntactic sugar" to the language.
.
- Follow-Ups:
- Re: make i:j equivalent to [(k,k=i,j)]?
- From: David Frank
- Re: make i:j equivalent to [(k,k=i,j)]?
- From: highegg
- Re: make i:j equivalent to [(k,k=i,j)]?
- From: glen herrmannsfeldt
- Re: make i:j equivalent to [(k,k=i,j)]?
- Prev by Date: import selected module variables within that module's procedures
- Next by Date: Re: Online F77 information...
- Previous by thread: import selected module variables within that module's procedures
- Next by thread: Re: make i:j equivalent to [(k,k=i,j)]?
- Index(es):
Relevant Pages
|