[fpc-pascal] Re: pchar with more than 255 characters

Sven Barth pascaldragon at googlemail.com
Wed Nov 16 17:33:29 CET 2011


Am 16.11.2011 17:25, schrieb Jonas Maebe:
>
> On 16 Nov 2011, at 17:15, Sven Barth wrote:
>
>> Am 16.11.2011 16:55, schrieb Rainer Stratmann:
>>> But when having pchar I wonder why it generally is not possible to make
>>> strings longer than 255 as it was possible in the previous compiler
>>> version.
>>
>> There was never a change regarding this as far as I know.
>
> There is one change about this in 2.6.0:
> http://wiki.freepascal.org/User_Changes_2.6.0#String_constants_longer_than_255_chars

(I should have read the listed change before clicking "Send")

So using 2.6.0+ Rainer would at least now know that he has a constant 
string > 255 in mode $H- and that this would have been truncated before.

Regards,
Sven



More information about the fpc-pascal mailing list