Carbon


LoWord

Header: ToolUtils.h Carbon status: Supported

Obtains the low-order word of a long word.

SInt16 LoWord (
    SInt32 x
);
Parameter descriptions
x

The long word whose low word is to be returned.

function result

The low-order word of the long word specified by the x parameter.

DISCUSSION

One use of this function is to obtain the fractional part of a fixed-point number.

To copy a range of bytes from one memory location to another, you should ordinarily use the Memory Manager function, BlockMove.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)