Environment variables: Difference between revisions
→{{header|langur}}
m (→{{header|Wren}}: Minor tidy) |
Langurmonkey (talk | contribs) |
||
Line 582:
writeln "USER: ", _env["USER"]</syntaxhighlight>
We could also the short-hand form of indexing by string. This is limited to code points used for tokens and does not allow for spaces, nor an index alternate.
<syntaxhighlight lang="langur">writeln "HOME: ", _env'HOME
|