Quoting Sam Paulson to All:
SP> I have just started using the PowerBASIC library DWDOOR v2.3 and
SP> wanted to ask those who also use it a question.
SP> After I have my door program completed, should I edit the .INC
SP> file to DECLARE only those subroutines and functions that are
SP> actually used in the program? And will that result in a smaller
SP> overall program (.EXE)?
Since you don't have access to the source code for the DWDOOR.PBL, you don't
know whether any of the routines are dependent on any of the other routines
declared in the .INC file. Of course, you can try it, but make sure that you
have a backup. :)
SP> Also, how would I be able to add to the users remaining time limit,
SP> such as games like "Black Jack for Time" do?
That depends on the bbs software, Sam. With Wildcat, for instance, you can't
change the time limit using the DOOR.SYS drop file, because Wildcat doesn't
read DOOR.SYS back when it returns from the door; instead, you have to write
to the USERREC.BIN that's created when there is a drop to a door. Other bbs
softwares allow you to use the drop file to change the user's time. Most
doors that allow for changes in the caller's record are specific to a
particular type of bulletin board system.
-=> Lawrence <=-
* WCE 2.1G1/2081 *
--- InterEcho 1.15
---------------
* Origin: Toast House * (314) 994-0312 * (1:100/560)
|