1. C++ to Euphoria Question

Could someone explain how to convert this to Euphoria

      sifMask = SIF_RANGE | SIF_POS

would SIF_RANGE and SIF_POS be OR'd together?

I cant seem to find the answer among any of the C books I have available.

Thanks,

Euman

new topic     » topic index » view message » categorize

2. Re: C++ to Euphoria Question

> Could someone explain how to convert this to Euphoria
>
>       sifMask = SIF_RANGE | SIF_POS
>
> would SIF_RANGE and SIF_POS be OR'd together?
>
> I cant seem to find the answer among any of the C books I have available.
>
> Thanks,
>
> Euman

yep, you where right, it's:

sifMask = or_bits(SIF_RANGE,SIF_POS)

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

new topic     » goto parent     » topic index » view message » categorize

3. Re: C++ to Euphoria Question

The answer is YES, I found this buried in "Useing Borland C++ 4.0"
the operator just didnt look like the "or" symbol I was use to..

Thanks anyway.

Euman



> Could someone explain how to convert this to Euphoria
> 
>       sifMask = SIF_RANGE | SIF_POS
> 
> would SIF_RANGE and SIF_POS be OR'd together?
> 
> I cant seem to find the answer among any of the C books I have available.
> 
> Thanks,
> 
> Euman
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu