Re: [fpc-pascal]2 questions on ansistrings

2003-08-28 Thread Marco van de Voort
> > > > 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? > > No shifting, ansistrings are not sparse (at least not in this implementation. should be: It does

Re: [fpc-pascal]2 questions on ansistrings

2003-08-28 Thread Marco van de Voort
> 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? No sh

Re: [fpc-pascal]2 questions on ansistrings

2003-08-27 Thread Michael Van Canneyt
On Wed, 27 Aug 2003, Mark Emerson wrote: > 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 s

[fpc-pascal]2 questions on ansistrings

2003-08-27 Thread Mark Emerson
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 documen