Is here someone who like & |

BlitzMax Forums/BlitzMax Beginners Area/Is here someone who like & |

MrCredo is complaining is about the notation, not the fact that two different And operators exist.
To some extent I agree, although it is easy enough to get used to the names.

I am used to the following styles:

In C we have symbols &, &&

& is bitwise
&& is logical

We have the mnemonic device that the wider symbol operates on wider data.

The Basic style is to use names instead of symbols

AND is logical
BAND is bitwise

The mnemonic is the letter B built into the keyword BAND.

I would have preferred that BlitzMax use one of these styles rather than mixing elements of both.