[fpc-devel]paranstr

Florian Klaempfl Florian.Klaempfl at gmx.de
Wed Apr 10 17:57:18 CEST 2002


At 12:19 10.04.02 -0300, you wrote:
>I'm writing a program that uses long strings. I defined all string
>variables asansistgring using {$LONGSTRINGS ON}, but when I retrieves 
>comman line
>parameters with paramstr(1), they are truncated at 256 chars. Is this a
>bug? Arethere another way for doing this in order to avoid the problem?

Use the sysutils unit, it overrides paramstr with an ansistring version. Or 
does
it the objpas unit, then -Sd or -S2 is enough?

Hmmm, I'am not sure, check the manual or the sources of these two units.





More information about the fpc-devel mailing list