Subject | Re: [ib-support] logical operations |
---|---|
Author | Jörg Schiemann |
Post date | 2001-03-21T14:34:20Z |
> > Hi,I mean the logical operations AND, OR, NOT.
> >
> > how do I perform logical operations within SP?
> >
>
> You evaluate expressions by enclosing them in parentheses:
>
> if (AVAL='XYZ') then
>
> Or do you mean something else by logical operations?
In C you use && , || , !
i.e.
1 AND 0 = 0
1 AND 1 = 1
1 OR 0 = 1
1 OR 1 = 1
Jörg