home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
t
/
ter44.zip
/
PASCAL.ZIP
/
PHONE.34
< prev
next >
Wrap
Text File
|
1992-09-26
|
4KB
|
71 lines
{ Phone directory variabler }
{ The phonebook has first one PhoneHeadRec, and then up to 500 PhoneRec }
Const
MaxNumbers34 = 500;
Type
PhoneRec34 = Record
Name : String[30]; { Name of system }
Number : String[25]; { Number to call }
Baud : LongInt; { Baudrate to use }
Parity : Char; { Parity to use }
DataBits, { Databits to use }
StopBits : Byte; { Stopbits to use }
Script : String[8]; { Script to use at connect }
Terminal, { Emulation to use }
Protocol, { Protocol to use as default }
DialPrefix : Byte; { Dialprefix }
Password : String[24]; { Password to use }
Open,Closed: Word; { Opening hours 20:30 = 20*60+30 }
User : Byte; { Username to use }
Comment1, { Note 1 }
Comment2 : String[40]; { Note 2 }
AutoLogon : Byte; { Autologon style }
LogonChar : Char; { Used by autologon }
Translate, { Translation table }
Capture : String[8]; { Default capture file }
LocalEcho, { Turn on local echo }
StripHigh, { Strip above 127 from incoming }
RcvdBSdest : Boolean; { Backspace destroyes }
Color : Byte; { Attribute of entry }
{ Statistics }
JulDate, { Julian date of last connect }
CalcMin, { Time of last con. Hour*60+min }
Connects : Word; { Number of connects }
SecUsed, { Seconds used on system }
UploadKb, { Kilobytes of uploads }
DownloadKb, { Kilobytes of downloads }
Costs : LongInt; { Money used on system }
End;
PhoneHeadRec34 = Record
Encrypted : Boolean; { Is phonebook encrypted }
Seed : Longint; { Key to decrypt entries }
Version : String[5]; { Version is Terminate }
Comment : String[30]; { Phonebook note }
Num, { Total entries }
PhonePos, { Last entry processed }
ScrPos, { Where on screen is menubar }
RangeStart, { Last Range Start }
RangeStop : Integer; { Last Range stop }
LastSort, { Last used sortmethod }
WritePos, { Last pos for left/right cursor }
InsertNum : Byte; { GlobalMenu, Strip/Insert '-' }
End;
PhoneType34 = Record
Tag : Boolean;
P : PhoneRec34;
End;
Var
PHead34 : PhoneHeadRec34;
Ph34 : Array[1..MaxNumbers34] of ^PhoneType34;