[fpc-pascal] pointer to char vs pchar

Sven Barth pascaldragon at googlemail.com
Mon Mar 27 22:53:55 CEST 2023


Am 24.03.2023 um 15:04 schrieb Benito van der Zander via fpc-pascal:
> why is a pointer to a char not a pchar (for type helpers)?

Because that's how helpers work in Delphi as well: The address operator 
has as a result an expression that allows the use of a helper for the 
raw Pointer type (no matter if $TypedAddress is enabled or not).

Regards,
Sven


More information about the fpc-pascal mailing list