From: "Chris Tutty" <[EMAIL PROTECTED]>
> From: "Mark Wilden" <[EMAIL PROTECTED]> > > Op #2: MemMove(fRecPOne, fRecPTwo, sizeof(FlightDB)); > > > > Op #3: MemMove(fRecPOne, fRecPTwo, sizeof *fRecPOne); > > > > is better than #2 since it doesn't hard-code the type in as many places. > > > True, but if you forget that critical * the code will compile > and run but not do what you want. That's a good point! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
