Svetoslav B. Alexandroff wrote:
I have a question - how to read an environment variable under Linux/FreeBSD? Looks like there is not getenv function...
Assuming you use GPC-19990118, you only have to use the unit `GPC' in your program where `GetEnv' is declared:
program Foo;
uses GPC;
begin Writeln (GetEnv ('HOME')) end.
Frank
PS: Your mail would be far more readable if you used line breaks at less than 80 columns, and came without that HTML attachment.