home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
BBS_MISC
/
GVDEV022.ZIP
/
GVDEV022.EXE
/
GVDEV.DOC
next >
Wrap
Text File
|
1994-04-10
|
6KB
|
185 lines
GrapeVine BBS Developer's Kit v0.22
Developer's Guide
(c) 1992-1994 by Mike Hindle
All rights reserved
Mike Hindle
1256 Delta Avenue
Kamloops, BC
V2B 3Y5
CANADA
Fidonet: 1:353/700
- April 1994 -
GrapeVine BBS Developer's Kit Page i
TABLE OF CONTENTS
-----------------
Developer's Kit License Statement ............................ 1
Permitted Usage ...................................... 1
Disclaimer Of Warranty ............................... 1
Governing Law ........................................ 1
Archive File Listing ......................................... 2
Julian Dates ................................................. 3
GrapeVine BBS Developer's Kit Page 1
DEVELOPER'S KIT LICENSE STATEMENT
---------------------------------
Notice: Use of the GrapeVine BBS Developer's Kit indicates your
acceptance of these terms and conditions. If you do not agree
with them, please DO NOT use the product.
Permitted Usage
---------------
You are permitted to copy the GrapeVine Developer's Kit freely,
provided that all files pertaining to the product are included in
the copy. You are also permitted to distribute the product to
others provided that no fee is charged other than for supplies
and expenses. This fee must not at any time exceed $2.00 (taxes
not included).
Any third-party products created using the GrapeVine BBS
Developer's Kit MUST bear a copyright notice. It is also required
that you give visible credit to the GrapeVine BBS Developer's Kit
and its copyright protection.
Disclaimer Of Warranty
-----------------------
The software and documentation included in the GrapeVine BBS
Developer's Kit are provided "as is" and without warranty of any
kind. Mike Hindle specifically disclaims all warranties,
expressed or implied, including but not limited to implied
warranties of merchantability and fitness for a particular
purpose. In no event shall Mike Hindle be liable for any loss of
profit or any other damage, including but not limited to special,
incidental, consequential, commercial or other damages resulting
from any defect in the software or documentation. If the software
or documentation proves to be defective in any way, you, and not
Mike Hindle, assume the cost of any necessary servicing or
repair.
Mike Hindle does not extend any warranty whatsoever to any third-
party products created using the GrapeVine BBS Developer's Kit.
Governing Law
-------------
This statement shall be construed, interpreted, and governed by
the laws of the Province of British Columbia, Canada.
GrapeVine BBS Developer's Kit Page 2
ARCHIVE FILE LISTING
--------------------
The following files are included in the GrapeVine BBS Developer's
Kit distribution archive:
GVDEV.DOC This documentation file
GVUCONST.PAS Constant declarations
GVUDEF.PAS Record structures
GrapeVine BBS Developer's Kit Page 3
JULIAN DATES
------------
GrapeVine BBS makes rather extensive use of Julian dates. There
are several methods of computing Julian dates and to save you a
lot of grief, the exact code which GrapeVine BBS uses has been
included here.
The following source code extracts are from the totDate unit in
TechnoJock Software Inc.'s Object Toolkit. This source code is
copyrighted (1991) by TechnoJock Software, Inc. and is reprinted
with permission.
function GregtoJul(M,D,Y:longint):longint;
{}
var Factor: integer;
begin
if M < 3 then
Factor := -1
else
Factor := 0;
GregtoJul := (1461*(Factor+4800+Y) div 4)
+ ((M-2-(Factor*12))*367) div 12
- (3*((Y+4900+Factor) div 100) div 4)
+ D - 32075;
end; {GregtoJul}
procedure JultoGreg(Jul:longint; var M,D,Y: longint);
{}
var U,V,W,X: longint;
begin
inc(Jul,68569);
W := (Jul*4) div 146097;
dec(Jul,((146097*W)+3) div 4);
X := 4000*succ(Jul) div 1461001;
dec(Jul,((1461*X) div 4) -31);
V := 80*Jul div 2447;
U := V div 11;
D := Jul -(2447*V div 80);
M := V + 2 -(U*12);
Y := X + U + (W-49)*100;
end; {JultoGreg}
For further information about TechnoJock Software Inc.'s
programming tools, contact TechnoJock Software at:
TechnoJock Software, Inc.
PO Box 820927
Houston, TX 77282
Tel: (713) 493-6354
Fax: (713) 493-5872