Double oops. Right the first time: RecordSize += RecordSize % 2; Gotta stop reading my own posts.
-Paul "Paul" <[EMAIL PROTECTED]> wrote in message news:101288@;palm-dev-forum... > > > BTW, > > > if(RecordSize%2==1)//keep the record on word boundries > > > RecordSize++; > > This could be more obfusicated as: > > RecordSize += RecordSize % 2; // only works with %2, not %4, etc. > > Ooops, I of course meant: > RecordSize %= 2; > > ;-) > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
