[fpc-pascal]2 questions on ansistrings

Mark Emerson ChiefAngel at angelbase.com
Thu Aug 28 00:15:58 CEST 2003


1. If a segment is deleted from an ansistring, e.g. ...

s := 'abcdefghijklmnop';
delete (s, 5, 6);

yielding s = 'abcdelmnop'

...does the system "shift" the 'lmnop' to the left, or does the string
get hooked together with pointers, thus saving much time with long strings?

2. Is there any documentation yet of the ansistring internals?  If not,
what file contains the source?

Thanks,
Mark




More information about the fpc-pascal mailing list