Board index » delphi » HELP! - Environment variables

HELP! - Environment variables

How do you recognize DOS environment variables using Turbo Pascal
(v7.0). This includes things like: BLASTER=... PATH=... and so on.
Thanks.
 

Re:HELP! - Environment variables


Quote
id0x...@borg.collective (Q) wrote:
>How do you recognize DOS environment variables using Turbo Pascal
>(v7.0). This includes things like: BLASTER=... PATH=... and so on.
>Thanks.

Using GETENV would do the trick.

you would pick up the blaster string like this :

GetEnv('BLASTER');

Other Threads