Skip to content

Commit

Permalink
reformulate the key point about all variables having a type
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Razoumov committed Sep 24, 2024
1 parent 7b29ed4 commit 21db06a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion episodes/02-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ const outputFrequency: int = 20; // the temperature will be printed every outp

::::::::::::::::::::::::::::::::::::: keypoints
- "A comment is preceded with `//` or surrounded by `/* and `*/`"
- "All variables hold a certain type of data."
- "All variables in Chapel have a type, whether assigned explicitly by the user, or chosen by the Chapel
compiler based on its value."
- "Reassigning a new value to a `const` variable will produce an error during compilation. If you want to assign a new value to a variable, declare that variable with the `var` keyword."
::::::::::::::::::::::::::::::::::::::::::::::::

0 comments on commit 21db06a

Please sign in to comment.