www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Declaration
if condition then statement;
if condition then statement1 else statement2;
Description
The condition for the If keyword must be a boolean expression. The Else keyword is optional.
Example
If X > Y Then
If A > B Then
ShowMessage('X>Y and A > B');
Else
ShowMessage('X>Y and A <=B');
End;
See also