[fpc-pascal] Array of const: docs
pascaldragon at googlemail.com
Mon Feb 10 08:02:34 CET 2020
Alexey Tor. via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
So., 9. Feb. 2020, 17:45:
> Remark: Note that there is no support for QWord arguments in array of
> const. This is for Delphi compatibility, and the compiler will ignore
> any resulting range checks when in mode Delphi.
> but the code shows that QWord is supported. huh?
> TVarRec = record
> case VType : Ptrint of
> vtInt64 : (VInt64: PInt64);
> vtQWord : (VQWord: PQWord);
It's LongWord that is not supported. This is already fixed in the trunk
version of the documentation (and thus what will be used for 3.2).
> Also I cannot find Double/Single support in TVarRec but maybe Extended
> is enough.
Yes, the highest precision floating point type is enough.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal