H (Hybrid) Language - Version 0.02, by Dr. Herong Yang
Conditional "if" Statement
This section describes what is a conditional 'if' statement in H language.
A conditional "if" statement is a statement that executes a sub-statement, only when the given condition is satisfied.
A conditional "if" statement has the following syntax:
$if condition, sub-statement;
Examples of conditional "if" statements are:
$if price > 100.00, write("Too expensive for me!"); $if error != $null, $throw error;
Last update: 2017.
Table of Contents