I need to check if a certain flag is set for an integer.
I already know how to set a flag:
flags := FLAG_A or FLAG_B or FLAG_C
But how can I check if a certain flag is set?
In C++ I used the & operator, but how does that work in Delphi? I'm a bit confused at the moment