ezcgi.inc 328 B

1234567891011121314
  1. Uses dos;
  2. { Declared EXPLICITLY with Ansistring, so NO mistaking is possible }
  3. {
  4. This function is VERY inefficient, but the downsize would be to
  5. have initialization/finalization code to get/free the environment
  6. settings.
  7. }
  8. Function Getenv (Var EnvVar : AnsiString): AnsiString;
  9. begin
  10. Getenv:=dos.GetEnv(EnvVar);
  11. end;