H (Hybrid) Language - v0.03, 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;
Table of Contents
Conditional "elseif" Statement
"switch" Statement - Not Supported
"do...while" Statement - Not Supported
Inheritance - Object Attachments