` Getting environment variables (Alexey Solovjev ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Getting environment variables
1998-12-03 -- Alexey Solovjev
 
Following program works well for me in both 16 and 32 bit modes (NT4WS): ===== PROGRAM MAP MODULE('') GetEnv (*CSTRING),CSTRING,RAW,NAME('_getenv') END END S CSTRING(32) CODE S = 'USERNAME' MESSAGE (GetEnv (S)) S = 'USERDOMAIN' MESSAGE (GetEnv (S)) S = 'USERPROFILE' MESSAGE (GetEnv (S)) =====


Today is April 28, 2024, 11:10 am
This article has been viewed 35110 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: