Environment variables: Difference between revisions

Content deleted Content added
Sonia (talk | contribs)
→‎{{header|Go}}: added simpler example
GP
Line 356: Line 356:
=={{header|Oz}}==
=={{header|Oz}}==
<lang oz>{System.showInfo "This is where Mozart is installed: "#{OS.getEnv 'OZHOME'}}</lang>
<lang oz>{System.showInfo "This is where Mozart is installed: "#{OS.getEnv 'OZHOME'}}</lang>

=={{header|PARI/GP}}==
<lang parigp>system("echo $HOME")</lang>


=={{header|Perl}}==
=={{header|Perl}}==
Line 497: Line 500:
{{omit from|TI-83 BASIC}} {{omit from|TI-89 BASIC}} <!-- Does not have an environment other than regular global variables. -->
{{omit from|TI-83 BASIC}} {{omit from|TI-89 BASIC}} <!-- Does not have an environment other than regular global variables. -->
{{omit from|M4}}
{{omit from|M4}}
{{omit from|PARI/GP}}
{{omit from|Unlambda|Does not provide access to environment variables.}}
{{omit from|Unlambda|Does not provide access to environment variables.}}