[fpc-pascal] Array of const: docs

Alexey Tor. aaa5500 at ya.ru
Sun Feb 9 17:38:43 CET 2020


https://www.freepascal.org/docs-html/ref/refsu69.html
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);
    end;

Also I cannot find Double/Single support in TVarRec but maybe Extended 
is enough.

-- 
Regards,
Alexey



More information about the fpc-pascal mailing list