Warning: Undefined array key "lid" in /db/www/plotdoc/local/config.php on line 56

Plot2 Documentation : Command - Endif browse

Macro Command Reference


if <expr> <operator> <expr>
else
endif

Executes the commands between if ... and else if the condition is true. If the condition is false it executes the commands between else and endif. Possible operators are ==, !=, >, <, >=, <= for numerical comparison and eq, ne for string comparison. It is not possible to nest if, else, endif statements.