Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 5 - Text Utilities / Text Utilities Reference
Data Structures /


The Triple Integer Array

The FormatRecToString function uses the triple-integer array, defined by the TripleInt data type, to return the starting position and length in a string of three different portions of a formatted numeric string: the positive value string, the negative value string, and the zero value string. Each element of the triple integer array is an FVector record.

TripleInt = 
ARRAY[0..2] OF FVector;    {indexed by fPositive..fZero}

FVector = 
RECORD
   start: Integer;
   length: Integer;
END;
Field Description
start
The starting byte position in the string of the specification information.
length
The number of bytes used in the string for the specification information.
Each of the three FVector entries in the triple integer array is accessed by one of the values of the FormatClass type.

FormatClass = (fPositive,fNegative,fZero);

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996