[fpc-devel]Re: array of char

Florian Klaempfl florian at klaempfl.de
Fri Sep 29 10:25:13 CEST 2000


Michael Van Canneyt schrieb:
> > No, it isn't. The strings are concatened as ansistrings but
> > when writing the constant, the string is cut off to 255 chars, see
> > ptconst.pas
> > around line 540:

...

> It depends on the type of the const:
>   - For shortstring it should be cut.
>   - For pchar not (obvious).
>   - for array of char not.
>   - for ansistring don't cut either.
> Is it possible to determine the type here ?

It is know that it is an array of char .




More information about the fpc-devel mailing list