Ok, i'm not if this would work so let me know.

I need to separate a ULong into 4 UShorts so...

ULong x = value;

UShort a, b, c, d ;

MemMove ( a, x, 2 );
MemMove ( b, x, 2 );
MemMove ( c, x, 2 );
MemMove ( d, x, 2 );

Make sense?

thanks,



Philip Streck
Akron General Medical Center
Information Systems


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

Reply via email to