In our previous episode, m...@rpzdesign.com said: > As for 2 examples: > > res := PosEx(mypchar,'NEEDLE',35) ; > > res := Copy (mypchar, 10,15) ;
These are not examples. These are snippets. Examples I can compile and debug. > What are the byte boundaries here? > Zero Based from the pointer? I think it will scan the pointer till a zero character, and then copy that to an ansistring. Next pass the ansistring to posex. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal