AssociationFormat

AssociationFormat

TextString 及相关函数的一个选项,用于确定关联的格式.

更多信息

  • AssociationFormat->{"left","sep","right","arrow"} 指定关联的格式应按分隔符 "left",其次是由 "sep" 分开的关联中的各项,然后是分隔符 "right". 每一对 key->value 的格式为 key,其次是 "arrow",其次是 value.
  • AssociationFormat->Automatic 表示应该使用指定 {"<|",", ","|>"," -> "},这对应于 Wolfram 语言中关联的普通语法.

范例

基本范例  (1)

使用默认格式化:

指定替代格式化:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_associationformat, organization={Wolfram Research}, title={AssociationFormat}, year={2014}, url={https://reference.wolfram.com/language/ref/AssociationFormat.html}, note=[Accessed: 22-November-2024 ]}