[fpc-devel] XML node dump feature

Marģers . margers.roked at inbox.lv
Tue Jun 25 06:20:07 CEST 2019


 

----- Reply to message -----
Subject: Re: [fpc-devel] XML node dump feature
Date: otrd., 25 jūn., 03:16
From:  Ben Grasset <operator97 at gmail.com>
To:  FPC developers' list
<fpc-devel at lists.freepascal.org>

> const 
>   A: TVec3F = (X: 1.2; Y: 2.4; Z: 3.8);
>   B: TVec3F = (X: 2.1; Y: 4.2; Z: 8.3);
>   // You can't do the next part currently, obviously
>   C: TVec3F = A + B;
>   D: TVec3F = A - B;
>   E: TVec3F = A * B;
>   F: TVec3F = A / B;
>

Sorry to say but, this should not work even with
*pure* function.  Typed constants are not truly
constants.



More information about the fpc-devel mailing list