[fpc-devel] Just to confirm, "with" behaviour expected
Martin Frb
lazarus at mfriebe.de
Mon Aug 14 15:54:05 CEST 2023
On 14/08/2023 14:52, Michael Van Canneyt via fpc-devel wrote:
>
> On Mon, 14 Aug 2023, Martin Frb via fpc-devel wrote:
>
>>
>> Does "with" take the "address" of the value, and operate on that
>> address, even if the address of that value could change within the
>> "with" statement.
>
> You may not do this. It is even documented.
>
> See the remark at the end of this page:
>
> https://www.freepascal.org/docs-html/current/ref/refsu62.html#x172-19600013.2.8
>
Ups, sorry I didn't research the details first.
More information about the fpc-devel
mailing list