Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > system facilities > getenv
next | previous | forward | backward | up | index | toc

getenv -- get value of environment variable

Description

getenv s yields the value associated with the string s in the environment.

i1 : getenv "HOME"

o1 = /home/m2user

Ways to use getenv :

For the programmer

The object getenv is a compiled function.