CRM-Script, bit combinatios

Hi all,

I have an integer value whose bits I have to evaluate individually.

Is there in the crmscript bit combinations, in the form:
0000.0111 & 0000.0001 = 0000.0001


Thank you


RE: CRM-Script, bit combinatios

Hi Andreas,
I'm not entirely sure if this is what you're asking for, but we've got FHBitSet which allows you to work with bits:

String bitNumber = "00001000";

FHBitSet fh;

You can get/set them by doing this:

Bool isSet = fh.getBitNo(1);

Av: Simen Mostuen Iversen 14. sep 2021