Re: [fpc-pascal] Shortstrings/ ANSIStrings

2005-09-02 Thread Michael . VanCanneyt
On Tue, 14 Jun 2005 [EMAIL PROTECTED] wrote: > What is the main difference between the shortstrings (256 byte) and the ANSI > Strings? Shortstrings are on the stack, and have the length stored in the 0-th byte. AnsiStrings are on the heap, and have their length stored somewhere hidden. Ansistr

[fpc-pascal] Shortstrings/ ANSIStrings

2005-09-02 Thread antal
What is the main difference between the shortstrings (256 byte) and the ANSI Strings? I mean, upon using the Strings, we have plenty of functions, manipulating the string, while with ANSIStrings we have certain difficulties obtaining the same result This is ranging from Pos(), Delete(), String ad