If

www.kxcad.net Home > Electronic Index > Altium(Protel) Index


Your Ad Here

Declaration

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

And, Begin, Or, Then, Else keywords.