[fpc-pascal]TIntegerSet and TFloatType

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Nov 26 13:51:01 CET 2000


Hi again,

1.
I want access to set elements via the RTTI.
Delphis sysutils.pas defines for a set with the size of an integer:
  TIntegerSet = set of 0..SizeOf(Integer) * 8 - 1;
Then you can write:
  S:TIntegerSet;
  [...]
  Integer(S) := GetOrdProp(Instance, PropInfo);
  V := FElement in S;

How can I achieve this under FPC?
Can I simply take the TIntegerSet?

2.
How much digits the following floats have?
ftSingle,ftDouble,ftExtended,ftComp,ftCurr,ftFixed16,ftFixed32

Mattias





More information about the fpc-pascal mailing list