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

Update organising_code.md to cover optional arguments #466

Merged
merged 9 commits into from
Nov 9, 2024

Conversation

Beliavsky
Copy link
Contributor

The optional arguments feature is described, and the vector_norm function is updated to have an optional argument. A main program shows how vector_norm can be called with and without the optional argument.

Show declaration of multiple variables in one line, gives an example of reading more than one variable in one statement.
Added a print statement so that the user sees that a double precision is stored to more digits than a single precision one.
Copy link
Contributor

@perazz perazz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @Beliavsky

source/learn/quickstart/variables.md Outdated Show resolved Hide resolved
Copy link
Member

@henilp105 henilp105 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Beliavsky , LGTM.

@henilp105
Copy link
Member

Merging

@henilp105 henilp105 merged commit 726ff13 into fortran-lang:main Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants