Re: [fpc-pascal] LongStrings Question

2006-03-03 Thread Иван Шихалев
In this case, "constant string" is a character sequense between two ''. If you receive a string value in run-time, all must be OK. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] LongStrings Question

2006-03-03 Thread Evandro Sestrem
Hi, I'm using {$LONGSTRINGS ON} to use a string variable like ansistring. In this example, if I uncomment the s1 variable I got "Error: Constant strings can't be longer than 255 chars", but if I uncomment the s2 variable (formed by concatenation of strings) the project compiles perfectly. prog