[fpc-pascal] Move() vs MemCopy()

Marco van de Voort marcov at stack.nl
Tue Sep 29 15:33:48 CEST 2009

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?


More information about the fpc-pascal mailing list