home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 24
/
CD_ASCQ_24_0995.iso
/
vrac
/
apdtr.zip
/
ADDATAB.INT
< prev
next >
Wrap
Text File
|
1995-05-26
|
1KB
|
47 lines
{$G+,X+,F+}
{Conditional defines that may affect this unit}
{$I AWDEFINE.INC}
{*********************************************************}
{* ADDATAB.PAS 1.00 *}
{* Copyright (c) TurboPower Software 1995 *}
{* All rights reserved. *}
{*********************************************************}
unit ADDataB;
{-INI/Database concepts}
interface
uses
SysUtils,
Classes,
OoMisc;
type
{information about one field in an INI database}
TDBFieldInfo = class(TObject)
public
Len : Word;
IsStr : Boolean;
Name : String;
constructor CreateString(const FldName : String; FldLen : Word);
constructor CreateInt(const FldName : String);
constructor Copy(FI : TDBFieldInfo);
end;
{a list of TDBFieldInfos}
TDBFieldList = class(TList)
public
procedure StrsToPChars(var StrRec, PCharRec);
{-Convert a record with string variables to a record with PChars}
procedure PCharsToStrs(var PCharRec, StrRec);
{-Convert a record with PChar variables to a record with strings}
end;
{an indexed field}
TDBIndexedField = String[MaxNameLen];