NLP++ supports if statements identical to C and C++.
The syntax for if statements is:
if (expr)
statement
or
block
where a block is a list of statements enclosed in curly braces { }.