[fpc-pascal] pchar with more than 255 characters
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Nov 16 17:25:57 CET 2011
On 16 Nov 2011, at 17:15, Felipe Monteiro de Carvalho wrote:
> On Tue, Nov 15, 2011 at 11:33 AM, Jonas Maebe <jonas.maebe at elis.ugent.be
> > wrote:
>> length(pchar) is translated into strlen(pchar) (just like in Delphi).
>
> But why is it limited to 255 chars in {$H-} ?
It is not.
> (I understood that it is
> limited like this from the original poster)
The original poster said that he could not use string constants longer
than 255 characters in his code in {$h-} mode.
Jonas
More information about the fpc-pascal
mailing list