mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-26 17:48:24 +02:00
15 lines
239 B
ObjectPascal
15 lines
239 B
ObjectPascal
{$h+}
|
|
program example92;
|
|
|
|
{ This program demonstrates the
|
|
GetEnvironmentVariableCount function }
|
|
|
|
uses sysutils;
|
|
|
|
Var
|
|
I : Integer;
|
|
|
|
begin
|
|
For I:=1 to GetEnvironmentVariableCount do
|
|
Writeln(i:3,' : ',GetEnvironmentString(i));
|
|
end. |