>
> Op #1:  *fRecPOne = *fRecPTwo;
>
> Op #2:  MemMove(fRecPOne, fRecPTwo, sizeof(FlightDB));
>

     Actually I would have expected these operations to be identical as
well, except for overlapping memory areas (MemMove should handle it
correctly; I would suspect that op#1's handling would be compiler-dependent
and probably a better question for Ben.)  However, in this instance I would
generally not expect to see overlapping memory areas - usually you see those
with screen buffers and the like, not when copying structures around that
represent records.

> Until just now I had thought that the two operations below were identical.
> A bug I just found in my code made me realize that they're not.

     What kind of bug are you seeing?  More of a curiosity thing, I'm
curious to see how these two differ as well.

  - Tony

=======================================
Tony Goggin, Technical Director
Salamander Technologies
http://www.salamandertechnologies.com
[EMAIL PROTECTED]
=======================================


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to