Strings incorrectly limited to 255 chars
Original Reporter info from Mantis: jafcobend
-
Reporter name: Jon Foster
Original Reporter info from Mantis: jafcobend
- Reporter name: Jon Foster
Description:
When a short strings are used as part of an AnsiString constant the string gets limited to the short string 255 character limit.
Additional information:
After compiling and running the attached program it will spit out a 255 character string. Splitting the s:=... line so it happens in chunks less than or equal to 255 characters or changing the 's1: string[3]' to 's1: string' will fix the program and produce the correct 434 character result.
I did not run into this problem with fpc 2.0.x.
Mantis conversion info:
- Mantis ID: 13456
- Version: 2.2.2
- Fixed in version: 2.4.0
- Fixed in revision: 13004 (#626a723f)