This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/TM4C129ENCPDT:一些 GEL 示例中使用的智能引号

Guru**** 2595805 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/965301/ccs-tm4c129encpdt-smart-quotes-used-in-some-gel-examples

器件型号:TM4C129ENCPDT

工具/软件:Code Composer Studio

有一点很小、但注意到 GEL 文档中的一些示例使用智能引号 来终止字符串、而不是使用 ASCII 代码34来终止双引号。

例如,将 GEL_LoadGEL()中的示例粘贴  到 CCS 编辑器中时,引号无效:

我不知道 GEL 文档是如何准备的、但在将代码示例(或命令行)粘贴到 Microsoft Word 中时看到了类似的问题、Microsoft Word 随后决定自动将 ASCII 代码34转换为智能引号。