mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-10 13:48:40 +01:00
tweak doc/site/modularity.markdown
Co-authored-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
This commit is contained in:
@ -45,7 +45,7 @@ if (thirsty) {
|
||||
If you need to import a variable under a different name, you can use
|
||||
`import "..." for Name as OtherName`. This looks up the top-level variable
|
||||
`Name` in *that* module, but declares a variable called `OtherName` in *this* module
|
||||
with it's value.
|
||||
with its value.
|
||||
|
||||
<pre class="snippet">
|
||||
import "liquids" for Water //Water is now taken
|
||||
|
||||
Reference in New Issue
Block a user