Environment variables: Difference between revisions
→{{header|langur}}
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
Langurmonkey (talk | contribs) |
||
Line 513:
writeln "PATH: ", _env["PATH"]
writeln "USER: ", _env["USER"]</lang>
{{works with|langur|0.9}}
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.
<lang langur>writeln "HOME: ", _env'HOME
writeln "PATH: ", _env'PATH
writeln "USER: ", _env'USER</lang>
=={{header|Lasso}}==
|