In our previous episode, Graeme Geldenhuys said: > I'm still porting code from SpeedSoft's Pascal compiler. The code I am > porting often uses MemCopy(), but Free Pascal doesn't seem to have > such an implementation. So I looked at the next best thing... Move() > > But as the name suggests (...Move()...), I would have expected it to > actually move the data and not copy the data. The following example > program demonstrates this. Shouldn't S1 = '' after the Move() call?
No. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal