根据 此处 它指出。
评论
该 多行 注释被放在大括号和星号内,作为
(* ... *)
. Pascal允许 单行 注释{ ... }
.(* This is a multi-line comments and it will span multiple lines. *) { This is a single line comment in pascal }
我一直在使用 { ... }
有多行。在Inno Setup中似乎没有问题 Code
节。但这是不是语法不好呢?
这一条是错误的。这两种 (* ... *)
和 { ... }
是多行注释,它们是等价的。
在Pascal (Script)中,单行注释的开头是 //
:
// Single line comment