COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

	Copyright (c) GeoWorks 1992 -- All Rights Reserved

PROJECT:	PC GEOS
MODULE:		
FILE:		ffile.def

AUTHOR:		Jeremy Dashe, January 21, 1992

	
REVISION HISTORY:
	Name	Date		Description
	----	----		-----------
	jeremy	1/21/92		Initial version

DESCRIPTION:
	Definitions for the flat file database library.
		
	$Id: ffile.def,v 1.1 97/04/04 14:24:09 newdeal Exp $

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@

SetDef	__FFILE

StartLibrary	ffile

UseLib math.def			; For FloatNum

FieldDataType	etype	byte, 0, 1
FDT_GENERAL_TEXT	enum	FieldDataType
FDT_COMPUTED		enum	FieldDataType
FDT_INTEGER		enum	FieldDataType
FDT_REAL		enum	FieldDataType
FDT_DATE		enum	FieldDataType
FDT_TIME		enum	FieldDataType
FDT_PAGE_NUMBER		enum	FieldDataType

MAX_FIELD_NAME_LENGTH	    	equ	40

FieldInfoBlock		struct
    FIB_fieldNum			byte
SBCS <    FIB_fieldName			char MAX_FIELD_NAME_LENGTH+1 dup (0)	>
DBCS <    FIB_fieldName			wchar MAX_FIELD_NAME_LENGTH+1 dup (0)	>
    FIB_fieldType			FieldDataType
    FIB_fieldSize			word
    FIB_minValue			FloatNum
    FIB_maxValue			FloatNum
FieldInfoBlock		ends

EndLibrary	ffile
