SPL allows you to use standard "if" statements. The syntax is as follows:
or, without else:
|Note:||There are no round brackets enclosing the condition.|
As in any other programming language, conditions are constructed with logical and comparison operators.
[if \$namespace.ContainsPublicClasses and \$namespace.Prefix <> ""]
whatever you want ['inserts whatever you want, in the resulting file]
SPL also contains a multiple choice statement.
The case labels must be constants or variables.
The switch statement in SPL does not fall through the cases (as in C), so there is no need for a "break" statement.