评论 |
说明 |
示例 |
---|---|---|
单线 |
标记有两种方法:
在CODESYS 中,处理这些评论的方式相同。 但是,如果库文档是使用 LibDoc 脚本集创建的,则以下情况适用:
|
|
多线 |
以 |
|
嵌套 |
以 |
|
对工具提示和 POU 文档的评论
A tooltip in the header of a POU is defined by the following comment: // tooltip text – line 1 // tooltip text – line 2 // tooltip text – line 3 Afterwards the documentation is defined as follows: /// reStructuredText
请注意:不建议混合使用不同的注释类型,因为这会在生成文档时产生不必要的副作用。