Environment

Environment["var"]

用来给出操作系统环境变量的值.

更多信息

  • Environment 返回的环境变量的值以字符串形式返回.
  • 如果 Environment 无法找到你所询问的操作系统变量的值,它返回 $Failed.
  • Environment 的行为依赖于您所使用的计算机.

范例

基本范例  (1)

Wolfram Research (1988),Environment,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Environment.html.

文本

Wolfram Research (1988),Environment,Wolfram 语言函数,https://reference.wolfram.com/language/ref/Environment.html.

CMS

Wolfram 语言. 1988. "Environment." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/Environment.html.

APA

Wolfram 语言. (1988). Environment. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/Environment.html 年

BibTeX

@misc{reference.wolfram_2024_environment, author="Wolfram Research", title="{Environment}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Environment.html}", note=[Accessed: 25-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_environment, organization={Wolfram Research}, title={Environment}, year={1988}, url={https://reference.wolfram.com/language/ref/Environment.html}, note=[Accessed: 25-November-2024 ]}