Syntax:
if {condition} [and/or {condition} {block} ...] [else {block}]
Keyword handler:
net.eclecity.linguist.basic.keyword.BasicKIf.class
Runtime handler(s):
net.eclecity.linguist.basic.handler.BasicHIf.class net.eclecity.linguist.basic.handler.BasicHGoto.class
Function:
Handles basic decision-making in scripts. The {condition} can be a numeric or a string expression. The and and or conjunctions cannot be mixed in the same if statement. See also switch.
Example(s):
if Count is less than 100 go to Repeat if Word is "color" or Word is "colour" gosub to GetColor if ErrorFlag prompt "Error(s) detected" else prompt "No error(s) detected"