Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide shorter examples for intrinsic procedures #53

Open
Beliavsky opened this issue Apr 20, 2022 · 2 comments
Open

Provide shorter examples for intrinsic procedures #53

Beliavsky opened this issue Apr 20, 2022 · 2 comments
Labels
section: learn Relevant for the learn section on the webpage

Comments

@Beliavsky
Copy link
Contributor

Some example programs for the Fortran intrinsics, for example the one for ubound, provide a lot of information but are also a bit complicated. I suggest that a short example for an intrinsic be provided before a longer one. At Fortran Discourse I gave this code for ubound:

program main ! output in comments
implicit none
real :: x(4),y(-4:3),z(5,-3:2,7)
print*,lbound(x),ubound(x)     ! 1 4
print*,lbound(y),ubound(y)     ! -4 3
print*,lbound(z)               ! 1 -3 1
print*,ubound(z)               ! 5 2 7
print*,lbound(z,2),ubound(z,2) ! -3 2
end program main
@awvwgk awvwgk transferred this issue from fortran-lang/fortran-lang.org Aug 19, 2022
@awvwgk awvwgk added the section: learn Relevant for the learn section on the webpage label Aug 19, 2022
@Moksh45
Copy link
Contributor

Moksh45 commented Jan 22, 2023

Hello,
I would like to work on this issue. Could you please assign it to me?

@Moksh45
Copy link
Contributor

Moksh45 commented Jan 22, 2023

And Could you please provide me with additional information regarding this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
section: learn Relevant for the learn section on the webpage
Projects
None yet
Development

No branches or pull requests

3 participants