if

NLP++ supports if statements identical to C and C++.  

The syntax for if statements is:

if (expr)

  statement

or

if (expr)

  block

where a block is a list of statements enclosed in curly braces  { }.