TIntegerSet is used to treat an integer as a set of bits.
TIntegerSet = set of 0..SizeOf(Integer) * 8 - 1;
0..SizeOf(Integer) * 8 - 1 TIntegerSet;
Type TIntegerSet = set of 0 .. Integer-bit-size-1;
Assuming that an integer is 4 bytes (=32 bits), the set will 0 .. 31. TIntegerSet is typically used to treat an integer as a set of bits. To do so, an integer variable value is assigned to a TIntegerSet variable using TIntegerSet casting.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!