Am Wednesday 16 November 2011 17:15:51 schrieb Felipe Monteiro de Carvalho: > On Tue, Nov 15, 2011 at 11:33 AM, Jonas Maebe <jonas.ma...@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-} ? (I understood that it is > limited like this from the original poster)
Exactly. Why? Now I changed all string vars (aprox. 1250) to shortstring and the string[..] vars remain the same as before. So now I can remove the swith -Sh- from additional compiler arguments/flags. And now it is possible again (like in the compiler versions before) to put more than 255 chars incombination with a pchar. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal