home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
comm
/
bbsx1.zip
/
BBSXSRC.BAS
< prev
next >
Wrap
BASIC Source File
|
1988-09-18
|
3KB
|
79 lines
' BBSXpress (tm)
' Copyright (c) 1988 Richard B. Levin
' All Rights Reserved
'
' BBSXSRC.BAS
' Source code to BBSX file formats
' Tabs set every 3 characters
'
' Revised September 18, 1988
'
' This code is compatible with Microsoft BASIC v.6.0 and QuickBASIC v.4.0
' Compile using the alternate math library (/FPA).
'
' If you create any BBSX add-ons or utilities, we'd like to know about it.
'
' Thanks.
'
' BBSoft
type msghdrtyp ' message .HDR file
msghdrflver as integer ' file version # (currently 2)
msgdel as integer ' 0 = not deleted, -1 = deleted
msgprv as integer ' 0 = public, -1 = private
msgtoid as string * 8 ' message TO user id
msgfrmid as string * 8 ' message FROM user id
msgto as string * 51 ' message TO user name
msgfrm as string * 51 ' message FROM user name
msgre as string * 50 ' message RE
msgdt as string * 10 ' date posted
msgtm as string * 8 ' time posted
msgdtrcvd as string * 10 ' date rec 'd
msgtmrcvd as string * 8 ' time rec 'd
msgnum as long ' message #
msgrplycnt as integer ' # of replies
msgrplyto as long ' a reply to #
msgtxtstrt as integer ' .MSG record # where message text starts
msghdrrsvd as string * 2 ' reserved - use at your own risk
end type
type msgptrtyp ' message .PTR file
msgptrid as string * 8 ' user id
msgptrdt as string * 10 ' date last in sig
msgptrtm as string * 8 ' time last in sig
msgptrlstmsg as long ' last message read
end type
type msgtxttyp ' message .MSG file
msgtxt as string * 78 ' one line of text - ^C = end of message
end type
type nodlgtyp ' NODE.LOG
nodlgtxt as string * 80 ' one line of node.log text
end type
type usrlgtyp ' USER.LOG
usrlgflver as integer ' user.log file version (currently 2)
usrdel as integer ' 0 = not deleted, -1 = deleted
usrid as string * 8 ' user id
usrfrstnam as string * 26 ' first name, followed by ASCII 13
usrlstnam as string * 26 ' last name, followed by ASCII 13
usrpswd as string * 26 ' password, followed by ASCII 13
usrfrm as string * 25 ' city/state/province
usracs as integer ' access level (0 to 1440 minutes)
usrsec as integer ' security level (0 to 999)
usrdls as long ' # of downloads
usruls as long ' # of uploads
usrscrnlen as integer ' screen length
usrbkspc as integer ' 0 = backspacing off, -1 = on
usrtbs as integer ' tabs setting (0 to 9)
usrdtfrston as string * 10 ' date first on
usrtmfrston as string * 8 ' time first on
usrdtlston as string * 10 ' date last on
usrtmlston as string * 8 ' time last on
usrtmson as long ' total # of times on
usrtmusd as integer ' minutes used on last call
usrrsvd as string * 25 ' reserved - use at your own risk
end type
' end of BBSXSRC.BAS