14 Apr
1999
14 Apr
'99
12:36 a.m.
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. -- Frank Heckenbach, frank@fjf.gnu.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
9985
Age (days ago)
9985
Last active (days ago)
0 comments
1 participants
participants (1)
-
Frank Heckenbach