os.getenv (varname)-. 功能:返回当前进程的环境变量varname的值,若变量没有定义时返回nil. 例如:. 复制代码代码如下: print(os.getenv("USERDOMAIN"))
確定! 回上一頁