2
This file is part of the Free Pascal run time library.
3
Copyright (c) 2003 by the Free Pascal development team
5
OS/2 version of custom app object routines.
7
See the file COPYING.FPC, included in this distribution,
8
for details about the copyright.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
**********************************************************************}
16
{ taken from dos unit }
18
function EnvStr (Index: longint): string;
23
if (Index <= 0) or (Index > EnvC) then
28
HP := EnvP [Pred (Index)];
29
EnvStr := StrPas (HP);
33
procedure SysGetEnvironmentList(List : TStrings;NamesOnly : Boolean);
41
For J := 1 to Pred (EnvC) do