[Serusers] Question about logical operators and isflagset
Klaus Darilion
klaus.mailinglists at pernau.at
Mon May 9 14:55:06 CEST 2005
Hi Steve!
Try || instead of |
regards,
klaus
Steve Blair wrote:
>
> Hello:
>
> This should be easy but I cannot seem to get it working. I want to
> check if
> either flag is set to 1 but I consistently hit the else clause even
> though at least
> one flag is always 1. Any ideas will be appreciated.
>
> Thanks,Steve
>
> if ( isflagset(13) | isflagset(17) ) { ...
> } else {
> ...
> };
>
More information about the sr-users
mailing list