Carbon


LoWord

Header: ToolUtils.h Carbon status: Supported

Obtains the low-order word of a long word.

SInt16 LoWord (
    SInt32 x
);
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.0

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.

AVAILABILITY

Supported in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)