On 02 Sep 2009, at 20:16, Prof A Olowofoyeku (The African Chief) wrote:
Does anyone know how to return the lest significant byte of a given number? e.g. functionleast_significant_byteof (num: integer): byte;
An algorithm in Pascal or C would be fine.
least_significant_byteof:=num and 255;
(works both on big and little endian systems)
Jonas