- 积分
- 1901
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-1-6
- 最后登录
- 1970-1-1
|
发表于 2016-8-24 16:38:55
|
显示全部楼层
本帖最后由 xuebiz 于 2016-8-24 16:40 编辑
http://ncl.ucar.edu/Document/Functions/Built-in/getenv.shtml

getenv
Returns the string value of a shell environment variable.
Prototype
function getenv (
env_name [1] : string
)
return_val [1] : string
Return value
Returns a string containing the value of the shell environment variable requested, if that environment variable is set, or a missing value if it is not set.
Description
This function returns the value of the shell environment variable requested, if set, or a missing value if the environment variable is not set.
See Also
system, systemfunc |
|