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

Add documentation on logical operators #26

Open
pazathoth opened this issue May 29, 2020 · 1 comment
Open

Add documentation on logical operators #26

pazathoth opened this issue May 29, 2020 · 1 comment

Comments

@pazathoth
Copy link

The manual states

Notice the C++-like syntax; the user needs not study C++ for using FreeFEM, but it helps to guess what is allowed in the language.

and the language goes to great lengths to replicate C++ syntax. Yet, nowhere on an impressive number of PDF pages of documentation it is mentioned that the operators && and || do not use short-circuit evaluation as in C++. One common use case would be to check whether a real variable is zero before division since this results in a runtime error instead of a recoverable infinite value. Therefore I suggest to add a corresponding section in the documentation.

@franckl
Copy link
Contributor

franckl commented May 29, 2020

Hello @pazathoth, would you have time to make a pull request ? Your contribution would be greatly appreciated

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

No branches or pull requests

2 participants