[J3] Limitations of SELECT RANK?

Damian Rouson damian at sourceryinstitute.org
Tue Oct 20 14:48:31 EDT 2020


On Mon, Oct 19, 2020 at 7:38 PM Malcolm Cohen via J3 <
j3 at mailman.j3-fortran.org> wrote:

> It’s exactly identical to
>
>
>
>    IF (RANK(arr)>=1 .AND. RANK(arr)<=3) CALL SUB(arr)
>
>
>
> There is no “limitation” in SELECT RANK here.
>
>
>

I wonder if another way to say the same thing is that requiring the
compiler to generate the equivalent code amounts to a generic programming
requirement.  It's therefore appropriate to include such a proposal as part
of a new generic programming facility, but it's unlikely to succeed on its
own while the development of generic programming requirements are already
well under way.

Damian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20201020/6aed6ace/attachment.htm>


More information about the J3 mailing list