Up: GEOS SDK TechDocs | Up | Prev: ReleaseNumber ... | Next: SerialBaud ...

ScannerTokenCellData

typedef struct {
CellReference			STCD_cellRef;
} ScannerTokenCellData;

 

ScannerTokenData

typedef union {
ScannerTokenNumberData					STD_number;
ScannerTokenStringData					STD_string;
ScannerTokenCellData					STD_cell;
ScannerTokenIdentifierData					STD_identifier;
ScannerTokenOperatorData					STD_operator;
} ScannerTokenData;

 

ScannerTokenIdentifierData

typedef struct {
word		STID_start;
} ScannerTokenIdentifierData;

 

ScannerTokenNumberData

typedef struct {
FloatNum		STND_value;
} ScannerTokenNumberData;

 

ScannerTokenOperatorData

typedef struct {
OperatorType			STOD_operatorID;
} ScannerTokenOperatorData;

 

ScannerTokenStringData

typedef struct {
word	STSD_start;
word	STSD_length;
} ScannerTokenStringData;

 

ScannerTokenType

typedef ByteEnum ScannerTokenType;
#define SCANNER_TOKEN_NUMBER 									0
#define SCANNER_TOKEN_STRING 									1
#define SCANNER_TOKEN_CELL 									2
#define SCANNER_TOKEN_END_OF_EXPRESSION 									3
#define SCANNER_TOKEN_OPEN_PAREN 									4
#define SCANNER_TOKEN_CLOSE_PAREN 									5
#define SCANNER_TOKEN_IDENTIFIER 									6
#define SCANNER_TOKEN_OPERATOR 									7
#define SCANNER_TOKEN_LIST_SEPARATOR									8

 

ScriptAttrAsWord

typedef word ScriptAttrAsWord;
/* 	High byte is a vertical offset, as a fraction of the font size.
	Low byte is a fractional scale to use.
	Thus, setting a subscript attr to 0x8020 would result in subscript
	characters being printed half a line down and at 1/4 normal size. */

This structure specifies the offset and scale factor with which sub- and superscript characters should draw.

ScriptFace

typedef byte ScriptFace;
#define SF_CURSIVE 0x0080
#define SF_CALLIGRAPHIC 0x0000

 

sdword

typedef long sdword;

 

SearchFlags

typedef ByteFlags SearchFlags;
#define	SF_BACKWARDS	 		0x80
#define	SF_START_AT_END	 		0x40
#define	SF_IGNORE_CASE	 		0x20
#define	SF_NO_WILDCARDS	 		0x10
#define	SF_PARTIAL_WORD	 		0x08

Flags to define search parameters; see SearchParams and DataStoreStringSearch() .

SearchParams

typedef struct {
SearchType		SP_searchType;
dword		SP_maxRecords;
FieldID		SP_startField;
FieldCategory	SP_category;
TCHAR		*SP_searchString;
SearchFlags		SP_flags;
} SearchParams;

Structure for specifying search conditions when calling DataStoreStringSearch() .

SearchType

typedef ByteEnum SearchType;
#define	ST_ALL	 		1	/* search all string fields */
#define	ST_FIELD			2	/* search by FieldID */
#define	ST_CATEGORY			3	/* search by FieldCategory */

Values to specify in search parameters; see SearchParams and DataStoreStringSearch() .

segment

typedef word segment;

 

SemaphoreError

typedef enum {
SE_NO_ERROR,					/* No error occurred */
SE_TIMEOUT,					/* The semaphore timed out before
					 * it could be grabbed by the thread */
SE_PREVIOUS_OWNER_DIED					/* The current holder of the semaphore
					 * exited abnormally */
} SemaphoreError;

Determines the error encountered by semaphore and threadlock routines such as ThreadPSem() and ThreadPTimedSem() .

SE_NO_ERROR
No error occurred and the semaphore was grabbed properly.
SE_TIMEOUT
The time elapsed and the semaphore was not grabbed. If this value is returned, the thread should not proceed with whatever protected operation was to happen. Instead, it should either attempt to grab the semaphore again or should proceed with other tasks.
SE_PREVIOUS_OWNER_DIED
The previous owner of the semaphore exited abnormally. If the thread currently holding the semaphore exited without releasing the semaphore, for example, this would be returned.

Up: GEOS SDK TechDocs | Up | Prev: ReleaseNumber ... | Next: SerialBaud ...