$OperatingSystem

$OperatingSystem

是一个给出运行 Wolfram 系统的操作系统类型的字符串.

更多信息

  • $OperatingSystem 的典型值是 "Windows""MacOSX""Unix".
  • 可以使用 $OperatingSystem 了解在 Wolfram 系统中可用的外部命令都有哪些.
  • 对于特定操作系统的不同版本,$OperatingSystem 通常有相同的值.

范例

基本范例  (1)

通过编程方式确定主机操作系统:

Wolfram Research (1991),$OperatingSystem,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$OperatingSystem.html.

文本

Wolfram Research (1991),$OperatingSystem,Wolfram 语言函数,https://reference.wolfram.com/language/ref/$OperatingSystem.html.

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_$operatingsystem, organization={Wolfram Research}, title={$OperatingSystem}, year={1991}, url={https://reference.wolfram.com/language/ref/$OperatingSystem.html}, note=[Accessed: 25-November-2024 ]}