Syntax Punctuation Rules
InstallShield 2020 » InstallScript Language Reference
Like any programming language, InstallScript has syntax rules that regulate its usage. The basic syntax of InstallScript is similar to that of the C programming language.
The following punctuation reminders apply to all sections of the script:
|
•
|
Most statements end with a semicolon (;). This includes many one-word statements, such as end;, exit;, and return;. |
|
•
|
Preprocessor statements—such as #define and #include—never end with a semicolon. |
|
•
|
The keywords program, endprogram, and begin are placed on separate lines by themselves and receive no punctuation. The function line that begins each function block receives no punctuation. |
|
•
|
End a label, such as start: or starthere:, with a colon (:). |
|
•
|
Enclose parameter lists within parentheses. Separate multiple parameters with commas. |