[J3] Is this legal in F202X? Rank agnosticism and scalars
Vipul Parekh
parekhvs at gmail.com
Tue Jan 24 00:11:10 UTC 2023
On Mon, Jan 23, 2023 at 7:05 PM Vipul Parekh <parekhvs at gmail.com> wrote:
> ..
> Does the code you show reduce to the following?
> integer :: a(0)
> integer :: idx(0) .
>
Or as does the code you show reduce to the following?
integer :: a
integer :: idx(0)
a = 42
idx = 1
print *, a(idx)
end
in which case the reference to `a` in the PRINT statement is nonconforming?
Thanks,
Vipul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20230123/efdd99b5/attachment-0001.htm>
More information about the J3
mailing list