SyntaxPacket

SyntaxPacket[integer]

是一个 WSTP 包,其中由 integer 指定输入内容中检测到的语法错误的位置.

范例

基本范例  (1)

启动一个辅助 Wolfram 语言核心进程:

读取第一个包:

写入包,表示键入的文本 "10+"

计算错误,返回一个 SyntaxPacket 表达式:

关闭链接:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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