(j3.2006) Select Rank

Bill Long longb
Fri Feb 13 08:19:29 EST 2015


On Feb 12, 2015, at 6:46 PM, Van Snyder <Van.Snyder at jpl.nasa.gov> wrote:

> A Select Rank construct has been proposed, to go along with
> Dimension(..).

By whom?  Select Rank was proposed a long time ago and rejected. Instead we have the RANK() intrinsic.   With that you can

  select case (rank(A))

  case (1) 
  ?
  case (2)
  ?

  end select

Cheers,
Bill


> 
> It might also be useful independently from Dimension(..), in include
> files.
> 
> 
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3

Bill Long                                                                       longb at cray.com
Fortran Technical Suport  &                                  voice:  651-605-9024
Bioinformatics Software Development                     fax:  651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101





More information about the J3 mailing list