home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / sapphb.zip / SDOOR.INC < prev    next >
Text File  |  1992-10-06  |  3KB  |  76 lines

  1. TYPE
  2.  
  3.   DataFileType =
  4.   RECORD
  5.  
  6.     {----- User information -----}
  7.  
  8.     RealName    : STRING[20];  { Real name }
  9.     Phone       : STRING[25];  { Voice phone number }
  10.     UserName    : STRING[20];  { Sign-on name }
  11.     Level       : BYTE;        { Membership level }
  12.     Date        : WORD;        { Today's day number (# of days since 01/01/88) }
  13.     Date_Last   : WORD;        { Day number of last visit }
  14.     Mint_Last   : WORD;        { Minute-of-the-day of last visit }
  15.     StartDate   : WORD;        { Day number when this visit began }
  16.     StartMint   : WORD;        { Minute-of-the-day when this visit began }
  17.     StartDay    : WORD;        { Day of week (0-6, 0=Sunday) visit began }
  18.     StartHr     : WORD;        { Hour of day (0-23) visit began }
  19.     StartMn     : WORD;        { Minute of hour (0-59) visit began }
  20.     Width       : WORD;        { Terminal width }
  21.     Depth       : WORD;        { Screen depth }
  22.     DefGear     : BYTE;        { Default gear }
  23.     DefWrap     : BOOLEAN;     { Use word-wrap? }
  24.     Colour      : BOOLEAN;     { Use ANSI colour controls? }
  25.     NumVisits   : WORD;        { Number of visits to this BBS }
  26.     Protocol    : CHAR;        { Upload/Download protocol }
  27.  
  28.     {----- System information -----}
  29.  
  30.     ComPort     : INTEGER;     { Port address (see CONFIG program) }
  31.     TimeLeft    : INTEGER;     { Number of minutes left in call }
  32.     BaudRate    : INTEGER;     { Baud rate of the modem }
  33.     ConsColour  : BOOLEAN;     { Can the console display colour? }
  34.     ConsLines   : WORD;        { Number of lines possible on console screen }
  35.     Floppies    : BOOLEAN;     { Is this a diskette-based system? }
  36.     Noisey      : BOOLEAN;     { Should sound effects be played at console? }
  37.     TalkToCom   : BOOLEAN;     { Is this session via the serial port? }
  38.     LastEvNum   : BYTE;        { Number of the last event }
  39.     FrontEnd    : BOOLEAN;     { Is Sapphire running under a front-end? }
  40.     LocalRun    : BOOLEAN;     { Was Sapphire started with LOCAL? }
  41.  
  42.     {----- Path information -----} { All paths end in \ }
  43.  
  44.     DFLocation  : STRING[40];  { Path to SRUN directory }
  45.     LFLocation  : STRING[40];  { Path to text library directory }
  46.     MFLocation  : STRING[40];  { Path to messages directory }
  47.     FFLocation  : STRING[40];  { Path to software library directory }
  48.     File_SysLog : STRING[12];  { Name of system log file }
  49.     File_Users  : STRING[12];  { Name of users file }
  50.  
  51.     {----- Integration data -----}
  52.  
  53.     { Not updated after exit from door }
  54.  
  55.     CmdParm     : STRING[80];  { Remnant from command line }
  56.  
  57.     { Updated after exit from door }
  58.  
  59.     NamesString : STRING[80];  { String entered into NAMES command }
  60.     TextString  : STRING[80];  { String entered into TEXT  command }
  61.     Warn2       : BOOLEAN;     { Has user received 2-minutes-left warning? }
  62.     Warn5       : BOOLEAN;     { Has user received 5-minutes-left warning? }
  63.  
  64.     {----- Expansion -----}
  65.  
  66.     {
  67.  
  68.      Any file data following this point are as yet undefined.  However, your
  69.      program should allow the existance of additional data; it is not guaran-
  70.      teed that there will be an EOF here.  Extra fields may be added at a
  71.      later date, as assigned by Pinnacle Software.
  72.  
  73.     }
  74.  
  75.   END;
  76.