What’s the easiest way to set all bits of an Integer to 1?
I’m porting some C# code to Xojo and a lot of the static properties of a class are set to ~0. This is shorthand in C# for performing a bitwise complement on 0, essentially setting all bits of the Integer to 1.
Would this be the same as defining the property as an Integer and it’s value to -1?