According to here it states:
#Comments The multiline comments are enclosed within curly brackets and asterisks as
(* ... *)
. Pascal allows single-line comment enclosed within curly brackets{ ... }
.(* This is a multi-line comments and it will span multiple lines. *) { This is a single line comment in pascal }
I had been using { ... }
with multiple lines. It seems OK in Inno Setup Code
section. But is it bad syntax?
That article is wrong. Both (* ... *)
and { ... }
are multi-line comments and they are equivalent.
A single line comment in Pascal (Script) starts with //
:
// Single line comment