Environment variables: Difference between revisions

Content added Content deleted
(Environment variables en True BASIC)
(Environment variables en Yabasic)
Line 1,371: Line 1,371:
PATH=\masm6;C:\;C:\CXPL;C:\UTIL;C:\DOS;C:\BORLANDC\BIN
PATH=\masm6;C:\;C:\CXPL;C:\UTIL;C:\DOS;C:\BORLANDC\BIN
</pre>
</pre>

=={{header|Yabasic}}==
<code>peek$("env","NAME")</code> Return the environment variable specified by NAME (which may be any string expression).

Which kind of environment variables are available on your system depends, as well as their meaning, on your system; however typing env on the command line will produce a list (for Windows and Unix alike).

Note, that peek$("env",...) can be written as peek$("environment",...) too.


=={{header|zkl}}==
=={{header|zkl}}==