> From: Ben Combee [mailto:[EMAIL PROTECTED]]
> Assuming you mean UChar (8-bit), then you code could look like
>     ULong x = value;
>     UChar a, b, c, d ;
>     a = x >> 24;
>     b = x >> 16;
>     c = x >> 8;
>     d = x;

How about:

    union { ULong x; UChar abcd[ 4 ]; };
    x = value;

-slj-


-- 
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