home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / bbsx1.zip / BBSXSRC.BAS < prev    next >
BASIC Source File  |  1988-09-18  |  3KB  |  79 lines

  1. ' BBSXpress (tm)
  2. ' Copyright (c) 1988 Richard B. Levin
  3. ' All Rights Reserved
  4. '
  5. ' BBSXSRC.BAS
  6. ' Source code to BBSX file formats
  7. ' Tabs set every 3 characters
  8. '
  9. ' Revised September 18, 1988
  10. '
  11. ' This code is compatible with Microsoft BASIC v.6.0 and QuickBASIC v.4.0
  12. ' Compile using the alternate math library (/FPA).
  13. '
  14. ' If you create any BBSX add-ons or utilities, we'd like to know about it.
  15. '
  16. ' Thanks.
  17. '
  18. ' BBSoft
  19.  
  20. type msghdrtyp                            '    message .HDR file
  21.     msghdrflver as integer            '    file version # (currently 2)
  22.     msgdel as integer                    '    0 = not deleted, -1 = deleted
  23.     msgprv as integer                    '    0 = public, -1 = private
  24.     msgtoid as string * 8            '    message TO user id
  25.     msgfrmid as string * 8            '    message FROM user id
  26.     msgto as string * 51                '    message TO user name
  27.     msgfrm as string * 51            '    message FROM user name
  28.     msgre as string * 50                '    message RE
  29.     msgdt as string * 10                '    date posted
  30.     msgtm as string * 8                '    time posted
  31.     msgdtrcvd as string * 10        '    date rec    'd
  32.     msgtmrcvd as string * 8            '    time rec    'd
  33.     msgnum as long                        '    message #
  34.     msgrplycnt as integer            '    # of replies
  35.     msgrplyto as long                    '    a reply to #
  36.     msgtxtstrt as integer            '    .MSG record # where message text starts
  37.     msghdrrsvd as string * 2        '    reserved - use at your own risk
  38. end type
  39.  
  40. type msgptrtyp                            '    message .PTR file
  41.     msgptrid as string * 8            '    user id
  42.     msgptrdt as string * 10            '    date last in sig
  43.     msgptrtm as string * 8            '    time last in sig
  44.     msgptrlstmsg as long                '    last message read
  45. end type
  46.     
  47. type msgtxttyp                            '    message .MSG file
  48.     msgtxt as string * 78            '    one line of text - ^C = end of message
  49. end type
  50.  
  51. type nodlgtyp                            '    NODE.LOG
  52.     nodlgtxt as string * 80            '    one line of node.log text
  53. end type
  54.  
  55. type usrlgtyp                             '    USER.LOG
  56.     usrlgflver as integer            '    user.log file version (currently 2)
  57.     usrdel as integer                    '    0 = not deleted, -1 = deleted
  58.     usrid as string * 8                '    user id
  59.     usrfrstnam as string * 26        '    first name, followed by ASCII 13
  60.     usrlstnam as string * 26        '    last name, followed by ASCII 13
  61.     usrpswd as string * 26            '    password, followed by ASCII 13
  62.     usrfrm as string * 25            '    city/state/province
  63.     usracs as integer                    '    access level (0 to 1440 minutes)
  64.     usrsec as integer                    '    security level (0 to 999)
  65.     usrdls as long                        '    # of downloads
  66.     usruls as long                        '    # of uploads
  67.     usrscrnlen as integer            '    screen length
  68.     usrbkspc as integer                '    0 = backspacing off, -1 = on
  69.     usrtbs as integer                    '    tabs setting (0 to 9)
  70.     usrdtfrston as string * 10        '    date first on
  71.     usrtmfrston as string * 8        '    time first on
  72.     usrdtlston as string * 10        '    date last on
  73.     usrtmlston as string * 8        '    time last on
  74.     usrtmson as long                    '    total # of times on
  75.     usrtmusd as integer                '    minutes used on last call
  76.     usrrsvd as string * 25            '    reserved - use at your own risk
  77. end type
  78.  
  79. ' end of BBSXSRC.BAS