AskState

AskState[]

是一个用在 AskFunction 中的构建,返回 AskFunction 当前状态所有值的关联.

更多信息

  • AskState[] 给出格式为 <|"key1"->value1,"key2"->value2,|> 的关联,其中各项的顺序按照键在 AskFunction 的操作中首次设定的顺序排列.

范例

基本范例  (2)

获取所有当前已知的值:

使用 AskState 检查回答的数目:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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