Enumeration

Numeric Descriptor Type Constants

Specify types for numeric descriptors.

Declaration

enum : DescType {
    ...
};

Overview

The constants described here specify the data type for a descriptor and show the kind of numeric data stored in a descriptor with that type. These constants are preferred over their older equivalents described in typeSMInt.

Descriptors are the building blocks used by the Apple Event Manager to construct Apple event attributes and parameters. A descriptor is a data structure of type AEDesc, which consists of data storage and a descriptor type that identifies the type of the data. A descriptor type is defined by the data type DescType.

AppleScript defines descriptor type constants for a wide variety of common data types. For additional types, see Descriptor Type Constants and Other Descriptor Type Constants. For a complete listing, including data types such as units of length, weight, and volume, see the Apple Event Manager and Open Scripting Architecture header files.

Topics

Constants

typeSInt16

16-bit signed integer.

typeUInt16

16-bit unsigned integer.

typeSInt32

32-bit signed integer.

typeUInt32

32-bit unsigned integer.

typeSInt64

64-bit signed integer.

typeUInt64

64-bit unsigned integer.

typeIEEE32BitFloatingPoint

32-bit floating point value.

typeIEEE64BitFloatingPoint

64-bit floating point value.

type128BitFloatingPoint

128-bit floating point value.