8 lines
315 B
Markdown
8 lines
315 B
Markdown
|
# IF
|
||
|
If statement is used to evaluate expression and make decisions.It has following forms
|
||
|
1. IF expr1 condition expr2 THEN GOTO line number
|
||
|
2. IF expr1 condition expr2 THEN GOTO line number ELSE GOTO line number
|
||
|
|
||
|
|
||
|
This is used to change execution flow based on conditions.
|
||
|
Conditions can be as complex expressions
|