Environment variables: Difference between revisions
Content added Content deleted
(GP) |
(Added Delphi example) |
||
Line 144: | Line 144: | ||
Ways to do this in some other implementations are listed in the [http://cl-cookbook.sourceforge.net/os.html#env Common Lisp Cookbook]. |
Ways to do this in some other implementations are listed in the [http://cl-cookbook.sourceforge.net/os.html#env Common Lisp Cookbook]. |
||
=={{header|Delphi}}== |
|||
<lang Delphi>program EnvironmentVariable; |
|||
{$APPTYPE CONSOLE} |
|||
uses SysUtils; |
|||
begin |
|||
WriteLn('Temp = ' + GetEnvironmentVariable('TEMP')); |
|||
end.</lang> |
|||
=={{header|E}}== |
=={{header|E}}== |