reading OS environment variables
3 posts
• Page 1 of 1
reading OS environment variables
Hello,
say I have an env variable set at OS level, e.g.,
(Things I found about "environment variables" are usually about the Dyalog env vars, not about pulling in OS env vars.)
Thanks,
Michael
say I have an env variable set at OS level, e.g.,
- Code: Select all
export MY_VAR=something
(Things I found about "environment variables" are usually about the Dyalog env vars, not about pulling in OS env vars.)
Thanks,
Michael
- haupz
- Posts: 10
- Joined: Mon Jul 02, 2018 7:28 am
Re: reading OS environment variables
Hi Michael,
- Code: Select all
⎕ ← 2 ⎕NQ '.' 'GetEnvironment' 'MY_VAR'
- JohnS|Dyalog
Re: reading OS environment variables
Hi John,
thank you, that's interesting. The pointer to the ⎕NQ function made for some new discoveries. :-)
Best,
Michael
thank you, that's interesting. The pointer to the ⎕NQ function made for some new discoveries. :-)
Best,
Michael
- haupz
- Posts: 10
- Joined: Mon Jul 02, 2018 7:28 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group