Skip to content

Commit

Permalink
update function scope explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Nov 23, 2024
1 parent e66472a commit e7cd5ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/website/pages/documentation/language.art
Original file line number Diff line number Diff line change
Expand Up @@ -725,9 +725,9 @@ The general idea is:
- A variable previously declared outside of a function is available inside
- The changes of an existing variable, inside a function, do not persist after the function
If we want to *export* a specific symbol to the outer scope, that is, make it available outside of the function, we can use the `.export` option.
If we want to *export* a specific symbol to the outer scope, that is, make it available outside the function, we can use the `.export:` attribute.
If we want to export *all* of the symbols - thus, practically making the function *scope-less*, we may use the `.exportable` option.
If we want to export *all* of the symbols - thus, practically making the function *scope-less*, we may use the `.inline` attribute.
<h2 id="in-place-variable-modification">In-place variable modification</h2>
Expand Down

0 comments on commit e7cd5ff

Please sign in to comment.