home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
T
/
TABPPE50.ZIP
/
INSTALL.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-05-28
|
27KB
|
987 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
String STRING016
String STRING017
String STRING018
String STRING019
String STRING020
String STRING021
String STRING022
String STRING023
String STRING024
String STRING025
String STRING026
String STRING027
String STRING028
String STRING029
String STRING030
String STRING031
String STRING032
String STRING033
String STRING034
String STRING035
String STRING036
String STRING037
String STRING038
String STRING039
String STRING040
String STRING041
String STRING042
String STRING043
String STRING044
String STRING045
String STRING046
String STRING047
String STRING048
String STRING049
String STRING050
String STRING051
String STRING052
String STRING053
;------------------------------------------------------------------------------
STRING012 = PPEPath()
STRING013 = STRING012 + "WORK.$$$"
:LABEL001
If (Exist(STRING012 + "BUSY*.FLG")) Then
Cls
PrintLn "@X0CSomeone is currently in the TABS-PPE door, Configuration is not possible@X07"
PrintLn "@X0Cat this time. Please try to configure again after caller has exited.@X07"
Else
FCreate 1, STRING012 + "CONFIG.FLG", 2, 3
FClose 1
STRING010 = ""
Cls
Gosub LABEL017
PrintLn "@X3E┌────────────────────────────────────────────────────────────────────────────┐@X07"
PrintLn "@X3E│ @X38TABS-PPE Installation Utility @X3E │@X07"
PrintLn "@X3E│ @X3FWritten by Ray Sulich @X3E │@X07"
PrintLn "@X3E└────────────────────────────────────────────────────────────────────────────┘@X07"
Newlines 3
PrintLn " @X0F@X0EWhich file would you like to configure?"
PrintLn ""
PrintLn " @X0B(@X0E1@X0B) @X0FOptions Configuration File"
PrintLn " @X0B(@X0E2@X0B) @X0F$10 Contribution Configuration"
PrintLn " @X0B(@X0E3@X0B) @X0F$25 Contribution Configuration"
PrintLn " @X0B(@X0EQ@X0B) @X0Fuit"
Newlines 3
InputStr "@X0FMake your selection @X0B(@X0E1@X0B), @X0B(@X0E2@X0B), @X0B(@X0E3@X0B) @X0For @X0B(@X0EQ@X0B)@X0Fuit", STRING010, 11, 1, "123Qq", 64 + 2 + 256 + 8
If (STRING010 == "1") Goto LABEL002
Select Case (STRING010)
Case "2"
STRING015 = "10"
Case "3"
STRING015 = "25"
Case Else
If (STRING010 == "Q") Goto LABEL018
:LABEL002
Cls
PrintLn "@X0BTABS-PPE Installation Utility"
Newlines 2
InputStr "@X0FEnter the Name of your options configuration file: _", STRING001, 11, 12, Mask_Path(), 64 + 256 + 8
If (Exist(STRING012 + STRING001)) Goto LABEL003
Newlines 2
STRING010 = ""
InputYN "@X0FThat file does not exist, Do you want to create it", STRING010, 11
If (Upper(STRING010) == NoChar()) Then
Goto LABEL001
Endif
:LABEL003
FOpen 1, STRING012 + STRING001, 2, 3
If (Ferr(1)) Then
Cls
Newlines 3
PrintLn "@X0FError opening ", STRING001, " @X0C!!!!!@X07"
Newlines 3
Delay 70
Goto LABEL001
Endif
FGet 1, STRING002
FGet 1, STRING003
FGet 1, STRING004
FGet 1, STRING047
FGet 1, STRING006
FGet 1, STRING048
FGet 1, STRING008
FGet 1, STRING009
FGet 1, STRING011
Cls
STRING010 = ""
Delete STRING013
FCreate 2, STRING013, 1, 3
STRING010 = ""
PrintLn "@X0BTABS-PPE Installation Utility"
Newlines 2
PrintLn "@X0E(OLD: ", STRING002, ")"
Newlines 2
InputText "@X0FEnter your BBS name ", STRING010, 11, 35
If (Len(STRING010) <= 1) STRING010 = STRING002
Gosub LABEL015
Newlines 2
PrintLn "@X0E(OLD: ", STRING003, ")"
Newlines 3
InputText "@X0FEnter your registration number @X0B(@X0Cblank if none@X0B)@X0F ", STRING010, 11, 15
Gosub LABEL014
:LABEL004
Newlines 2
PrintLn "@X0E(OLD: ", STRING004, ")"
PrintLn "@X0CBlank if not desired"
Newlines 2
InputYN "@X0FDo you offer a $10 subscription rate @X0B(@X0EY@X0F, or @X0EN@X0B)", STRING010, 11
Gosub LABEL013
If (STRING010 == "YES") Then
Gosub LABEL014
Else
If (STRING010 == "NO") Then
Gosub LABEL014
Gosub LABEL016
FPutLn 2, "YES"
Goto LABEL007
Endif
Cls
Goto LABEL004
Endif
:LABEL005
Cls
STRING010 = ""
PrintLn "@X0BTABS-PPE Installation Utility"
Newlines 2
PrintLn "@X0E(OLD: ", STRING047, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputStr "@X0FWhat is the name of the @X0E$10 @X0Fconfiguration file", STRING005, 11, 12, Mask_File(), 64 + 8
If (Len(STRING005) <= 1) STRING005 = STRING047
If (Len(STRING005) <= 1) Then
Cls
Newlines 2
PrintLn "@X0FYou must enter a configuration file name, Please try again"
Delay 40
Goto LABEL005
Endif
FPutLn 2, Upper(STRING005)
:LABEL006
STRING010 = ""
Cls
PrintLn "@X0BTABS-PPE Installation Utility"
Newlines 2
PrintLn "@X0E(OLD: ", STRING006, ")"
PrintLn "@X0CBlank if not desired"
Newlines 2
InputYN "@X0FDo you offer a @X0E$25 @X0Fsubscription rate @X0B(@X0EY@X0F, or @X0EN@X0B)@X0F", STRING010, 11
Gosub LABEL013
If (STRING010 == "YES") Then
Gosub LABEL014
Else
If (Upper(STRING010) == "NO") Then
Gosub LABEL014
Gosub LABEL016
Goto LABEL008
Endif
Goto LABEL006
Endif
:LABEL007
STRING010 = ""
Newlines 2
PrintLn "@X0E(OLD: ", STRING048, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputStr "@X0FWhat is the name of the @X0E$25 @X0Fconfiguration file", STRING007, 11, 12, Mask_File(), 64 + 8
If (Len(STRING007) <= 1) STRING007 = STRING048
If (Len(STRING007) <= 1) Then
Cls
Newlines 2
PrintLn "@X0FYou must enter a configuration file name, Please try again"
Delay 40
Goto LABEL007
Endif
FPutLn 2, Upper(STRING007)
:LABEL008
STRING014 = ""
If (STRING004 == "NO") Then
STRING014 = "NO"
Endif
If (STRING006 == "NO") Then
STRING014 = "NO"
Else
STRING014 = "YES"
STRING010 = ""
Cls
PrintLn "@X0BTABS-PPE installation Utility"
Newlines 2
PrintLn "@X0E(OLD: ", STRING008, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputYN "@X0FDo you wish to use an internal options menu @X0B(@X0EY@X0F, or @X0EN@X0B)", STRING010, 11
If (Len(STRING010) < 1) STRING010 = STRING008
Gosub LABEL013
FPutLn 2, STRING010
Newlines 2
Endif
If (Upper(STRING010) == "YES") Then
Gosub LABEL016
Else
Cls
STRING010 = ""
Newlines 2
PrintLn "@X0E(OLD: ", STRING009, ")"
PrintLn "@X0CPress Enter to retain old settings."
Newlines 2
InputStr "@X0FWhat is the name of your external options menu", STRING010, 11, 12, Mask_File(), 64 + 8
If (Len(STRING010) <= 1) STRING010 = STRING009
Gosub LABEL014
Endif
Newlines 2
PrintLn "@X0E(OLD: ", STRING011, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputYN "@X0FDo you wish to allow the caller to download TABS info @X0B(@X0EY@X0F/@X0EN@X0B)", STRING010, 11
If (Len(STRING010) < 1) STRING010 = STRING011
Gosub LABEL013
Gosub LABEL014
Cls
Newlines 3
PrintLn "@X0FThat completes the configuration of the ", STRING001, " file."
Newlines 3
STRING010 = ""
InputYN "Do you wish to save " + STRING001 + " @X0B(@X0EY@X0F/@X0EN@X0B)", STRING010, 15
Gosub LABEL013
If (STRING010 == "YES") Goto LABEL009
If (STRING010 == "NO") Then
Newlines 2
STRING010 = ""
InputYN "Do you wish to start all over @X0B(@X0EY@X0F/@X0EN@X0B)", STRING010, 15
Gosub LABEL013
Endif
If (STRING010 == "YES") Then
Gosub LABEL017
FClose 1
FClose 2
Delete STRING013
Goto LABEL001
Endif
If (STRING010 == "NO") Then
Newlines 2
FClose 1
FClose 2
Endif
Goto LABEL018
:LABEL009
FClose 1
FClose 2
Delete STRING012 + STRING001
Rename STRING013, STRING012 + STRING001
Delete STRING013
Goto LABEL001
End Select
If (Len(STRING001) > 1) Goto LABEL010
Cls
STRING010 = ""
PrintLn "@X0BTABS-PPE Configuration Utility@X07"
Newlines 4
InputStr "@X0FEnter the Name of your Options configuration file", STRING001, 11, 12, Mask_Path(), 64 + 256 + 8
If (Exist(STRING012 + STRING001)) Goto LABEL010
Cls
STRING010 = ""
Newlines 3
PrintLn "@X0FThe file name does not exist or is not in the current directory, you must"
PrintLn "@X0Fcreate/configure the @X0C", STRING001, "@X0Ffile and run this PPE from the TABS"
PrintLn "@X0For this program can not continue."
Newlines 3
FClose 1
FClose 2
Delay 70
Goto LABEL001
:LABEL010
FOpen 1, STRING012 + STRING001, 2, 3
FGet 1, STRING002
FGet 1, STRING003
FGet 1, STRING004
FGet 1, STRING047
FGet 1, STRING006
FGet 1, STRING048
FClose 1
Delete STRING013
STRING017 = ""
STRING010 = ""
If (STRING015 == "10") Then
FOpen 1, STRING012 + STRING047, 2, 3
STRING017 = STRING047
Endif
If (STRING015 == "25") Then
FOpen 1, STRING012 + STRING048, 2, 3
STRING017 = STRING048
Endif
If (Exist(STRING012 + STRING017)) Goto LABEL011
Cls
STRING010 = ""
Newlines 3
InputYN "" + STRING012 + STRING017 + " doesn't exist. Create it now @X0B(@X0EY@X0F/@X0EN@X0B)?", STRING010, 11
Gosub LABEL013
If (STRING010 == "NO") Then
Cls
Newlines 3
STRING010 = ""
Endif
InputYN "@X0FDo you want to start over @X0B(@X0EY@X0F/@X0EN@X0B)", STRING010, 11
Gosub LABEL013
If (STRING010 == "NO") Goto LABEL018
If (STRING010 == "YES") Goto LABEL001
:LABEL011
FGet 1, STRING018
FGet 1, STRING019
FGet 1, STRING020
FGet 1, STRING021
FGet 1, STRING022
FGet 1, STRING050
FGet 1, STRING049
FGet 1, STRING051
FGet 1, STRING053
FGet 1, STRING016
FGet 1, STRING024
FGet 1, STRING025
FGet 1, STRING046
FGet 1, STRING026
FGet 1, STRING028
FGet 1, STRING029
FGet 1, STRING030
FGet 1, STRING032
FGet 1, STRING033
FGet 1, STRING034
FGet 1, STRING036
FGet 1, STRING037
FGet 1, STRING038
FGet 1, STRING039
FGet 1, STRING040
FGet 1, STRING041
FGet 1, STRING042
FGet 1, STRING043
FGet 1, STRING044
FGet 1, STRING045
FGet 1, STRING035
FGet 1, STRING031
FGet 1, STRING027
FGet 1, STRING023
FClose 1
Delete STRING013
FCreate 2, STRING013, 2, 3
STRING010 = ""
Cls
STRING010 = ""
PrintLn "@X0BTABS-PPE Installation Utility"
Newlines 2
PrintLn "@X0E(OLD: ", STRING018, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputText "@X0FPlease enter the Sysop's name:_", STRING010, 11, 48
If (Len(STRING010) <= 1) STRING010 = STRING018
Gosub LABEL014
PrintLn "@X0FDo you wish to use todays date as the day the subscription begins"
PrintLn "@X0FIf you answer NO to this question, if the contributors account is"
PrintLn "@X0FNOT expired his subscription will start from that date. In the "
PrintLn "@X0FExample below assume the subscription is for 1 year."
PrintLn ""
PrintLn "@X0F Current Expiration Date Subscription Start New Expiration Date"
PrintLn ""
PrintLn "@X0FAnswer NO 1/1/98 1/1/98 1/1/99"
PrintLn ""
PrintLn "@X0FAnswer YES 1/1/98 Today Today + 1yr."
Newlines 4
PrintLn "@X0E(OLD: ", STRING019, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputYN "@X0FUse todays date as the subscription start date @X0B(@X0EY@X0F/@X0EN@X0B)", STRING010, 11
If (Len(STRING010) < 1) STRING010 = STRING019
Gosub LABEL013
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING020, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FShould the caller to be able to create/flag a receipt of the transaction?"
InputYN "@X0Fthat he/she may later download @X0B(@X0EY@X0F/@X0EN@X0B)", STRING010, 11
If (Len(STRING010) < 1) STRING010 = STRING020
Gosub LABEL013
If (STRING010 == "NO") Then
Gosub LABEL014
Gosub LABEL016
Else
If (STRING010 == "YES") Gosub LABEL014
STRING010 = ""
Newlines 2
PrintLn "@X0E(OLD: ", STRING021, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputStr "@X0FEnter the name of the header for the receipt: _", STRING010, 11, 12, Mask_File(), 64 + 8
If (Len(STRING010) <= 1) STRING010 = STRING021
Gosub LABEL014
Endif
Newlines 2
PrintLn "@X0E(OLD: ", STRING022, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FDo you want to allow the caller to flag TABSINFO.TXT from the billing"
InputYN "@X0Foptions @X0Fmenu. @X0B(@X0EY@X0F/@X0EN@X0B)", STRING010, 11
If (Len(STRING010) < 1) STRING010 = STRING022
Gosub LABEL013
Gosub LABEL014
Newlines 2
STRING010 = ""
PrintLn "@X0E(OLD: ", STRING050, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FDo you want TABS-PPE to create a bulletin containing the names of the"
InputYN "@X0Fpersons that have contributed using TABS. @X0B(@X0EY@X0F/@X0EN@X0B)", STRING010, 11
If (Len(STRING010) < 1) STRING010 = STRING050
Gosub LABEL013
If (STRING010 == "NO") Then
FPutLn 2, "NO"
FPutLn 2, " "
FPutLn 2, " "
FPutLn 2, " "
Else
Gosub LABEL014
PrintLn ""
STRING010 = ""
PrintLn ""
PrintLn "@X0E(OLD: ", STRING049, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FWhat is the filename of the bulletin you would like created"
InputStr "@X0FFor example: @X0ECONTRIBS.TXT@X0F : _", STRING010, 11, 45, Mask_File(), 64 + 256 + 8
If (Len(STRING010) <= 1) STRING010 = STRING049
Gosub LABEL014
PrintLn ""
STRING010 = ""
PrintLn ""
PrintLn "@X0E(OLD: ", STRING051, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FWhat is the name of the file you wish to use as the bulletins header"
InputStr "@X0FFor example: @X0EBULLET.HDR@X0F: _", STRING010, 11, 12, Mask_File(), 64 + 8
If (Len(STRING010) <= 1) STRING010 = STRING051
Gosub LABEL014
PrintLn ""
STRING010 = ""
PrintLn ""
PrintLn "@X0E(OLD: ", STRING053, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FWhat is the name of the file that contains your list of contributor's."
PrintLn "@X0FTABS-PPE, will maintain this file but you may add contributors that"
PrintLn "@X0Fmay have contributed before this option was available, or contributed"
PrintLn "@X0Fvia another means."
Newlines 2
InputStr "For example: @X0ECONTRIBS.LST@X0F: _", STRING010, 11, 12, Mask_File(), 64 + 8
If (Len(STRING010) <= 1) STRING010 = STRING053
Gosub LABEL014
PrintLn ""
STRING010 = ""
PrintLn ""
PrintLn "@X0E(OLD: ", STRING016, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FWhat is the name of the file you wish to use as the bulletin footer"
InputStr "For example: @X0EBULLET.FTR@X0F: _", STRING010, 11, 12, Mask_File(), 64 + 8
If (Len(STRING010) <= 1) STRING010 = STRING016
Gosub LABEL014
Endif
STRING010 = ""
Newlines 2
PrintLn "@X0E(OLD: ", STRING024, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FWhat is the first access level to upgrade to? All callers who enter"
InputStr "@X0Fa SID@X0F who are Below this level will be upgraded to this level", STRING010, 11, 12, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING024
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING025, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputStr "@X0FHow many days do you wish the caller to hold this access level", STRING010, 11, 12, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING025
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING046, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputStr "@X0FWhat access level should the caller have after his subscription expires", STRING010, 11, 12, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING046
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING026, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FNumber of minutes the caller would get per day at the first upgrade"
PrintLn "level."
PrintLn ""
PrintLn "@X0F@X0ENOTE: @X0FThis number is for screen display purposes only. It should"
InputStr "@X0Fbe entered in minutes:", STRING010, 11, 12, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING026
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING028, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FNumber of download bytes the caller would have available per day"
PrintLn "@X0Fat the first upgrade level"
PrintLn ""
PrintLn "@X0F@X0ENOTE: @X0FThis number is for screen display purposes only, and"
PrintLn "@X0Fshould be entered in bytes. IE, @X0C1,000 @X0Fwould read @X0C1,000 @X0Fbytes per "
InputStr "@X0Fday @X0Fon the internal screens:", STRING010, 11, 24, "1234567890,.", 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING028
Gosub LABEL014
Newlines 2
PrintLn "@X0FAll entries with @X0C(OPTIONAL) @X0Fannotated are in fact optional and may"
PrintLn "@X0Fbe blanks if you decide you do not wish to use that particular option."
Newlines 2
PrintLn "@X0E(OLD: ", STRING029, ")"
PrintLn "@X0CBlank if not desired...."
Newlines 2
PrintLn "@X0FWhat is the Second level to upgrade to? @X0C(OPTIONAL)"
PrintLn "@X0FIf you enter a number on this line it MUST be larger than the number you"
PrintLn "@X0Fentered as the first upgrade level. If you entered 25 for the first access"
PrintLn "@X0Flevel the number you enter here MUST be 26 or greater. Any caller who is at"
PrintLn "@X0Fan access level that is greater than the first upgrade level, but less than"
PrintLn "@X0Fthe number you enter here will be upgraded to this level. Just press"
PrintLn "@X0Fenter here if you do not wish to use this option."
PrintLn ""
InputStr "@X0FWhat is the second level to upgrade to? @X0C(OPTIONAL)@X0F", STRING010, 11, 12, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) Then
FPutLn 2, ""
FPutLn 2, ""
FPutLn 2, ""
FPutLn 2, ""
FPutLn 2, ""
Else
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING030, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputStr "@X0FHow many days do you wish the caller to hold this access level?", STRING010, 11, 12, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING030
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING032, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
InputStr "@X0FWhat access level should the caller have when his subscription expires", STRING010, 11, 12, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING032
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING033, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FNumber of minutes the caller would get per day at the second upgrade"
PrintLn "@X0Flevel."
PrintLn ""
PrintLn "@X0F@X0CNOTE: @X0FThis number is for screen display purposes only, and should"
InputStr "@X0Fbe entered in minutes:", STRING010, 11, 25, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING033
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING034, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FNumber of download bytes the caller would have available per day at the"
PrintLn "@X0Fsecond upgrade level."
PrintLn ""
PrintLn "@X0FNOTE: This number is for screen display purposes only, and should"
PrintLn "be entered in bytes. IE, @X0C1,000 @X0Fwould read @X0C1,000 @X0Fbytes per day on"
InputStr "@X0Fthe internal screens:", STRING010, 11, 24, "1234567890,.", 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING034
Gosub LABEL014
Endif
Newlines 2
PrintLn "@X0E(OLD: ", STRING036, ")"
PrintLn "@X0CBlank if not desired"
Newlines 2
PrintLn "@X0FContributors conference number to join the caller to @X0C(OPTIONAL) @X0Fyou should"
PrintLn "@X0Fenter a blank here if you do no wish to join the caller to a specific"
PrintLn "@X0Fconference after the caller subscribes to your system. If for example"
PrintLn "@X0Fyou entered a 5 here, the subscriber would be joined to conference 5 with"
PrintLn "@X0Fthe RXS flags enabled. @X0CRemember@X0F, enter a blank here if this option is not"
PrintLn "@X0Fdesired."
Newlines 2
InputStr "@X0FContributors conference number to join the caller to @X0C(OPTIONAL)@X0F", STRING010, 15, 12, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) Then
Gosub LABEL016
Else
Gosub LABEL014
Endif
Newlines 2
PrintLn "@X0E(OLD: ", STRING037, ")"
PrintLn "@X0CPress Enter to retain old setting. Enter @X8F0 @X0Cto disable."
Newlines 2
PrintLn "@X0FIf the number of SIDS's remaining are equal to or less that this number"
PrintLn "@X0FTABS-PPE will send you a message stating that you are getting low on "
InputStr "@X0Fsubscription ID's:", STRING010, 11, 2, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING037
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING038, ")"
PrintLn "@X0CPress Enter to retain old setting."
Newlines 2
PrintLn "@X0FNumber of attempts to give the caller when entering his SID. If he fails"
PrintLn "@X0Fto enter a valid SID this many times, he will be sent out of the program."
PrintLn "@X0FYou may disable this setting by setting it to @X8F0@X0F."
PrintLn ""
InputStr "@X0FNumber of tries ", STRING010, 11, 2, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) STRING010 = STRING038
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING039, ")"
PrintLn "@X0CBlank if no desired"
Newlines 2
PrintLn "@X0FSysop's conference number to pass messages to @X0C(OPTIONAL)@X0F."
PrintLn "@X0FThis program will send messages to the Sysop when:"
PrintLn ""
PrintLn " @X0F1. An error occurs (will pass errorlevel)"
PrintLn "@X0F 2. A caller successfully completes a donation"
PrintLn "@X0F 3. When SID's remaining are less than configured amount."
PrintLn ""
InputStr "@X0FSysop's conference number @X0C(OPTIONAL)@X0F: _", STRING010, 15, 12, Mask_Num(), 64 + 8
If (Len(STRING010) < 1) Then
Gosub LABEL016
Else
Gosub LABEL014
Endif
Newlines 2
PrintLn "@X0E(OLD: ", STRING040, ")"
PrintLn "@X0CEnter retains old setting"
Newlines 2
PrintLn "@X0FWhat is the filename of the file that contains your list of active"
PrintLn "@X0FSID'S. One SID (Seven digit number) on each line. file must reside in"
PrintLn "@X0Fthe same directory as the TABS.PPE. If this is the $", STRING015, " configuration"
PrintLn "@X0Ffile, the file you list here should contain the listing of $", STRING015, " SID's."
PrintLn ""
InputStr "@X0FFor example: @X0CSIDS" + STRING015 + ".LST@X0F: _", STRING010, 11, 45, Mask_Path(), 64 + 256 + 8
If (Len(STRING010) <= 1) STRING010 = STRING040
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING041, ")"
PrintLn "@X0CEnter retains old setting"
Newlines 2
PrintLn "@X0FDo you want TABS-PPE to update the callers notes with information concerning"
InputYN "@X0Fthe callers donation. @X0B(@X0EY@X0F/@X0EN@X0B)@X0F ", STRING010, 11
If (Len(STRING010) < 1) STRING010 = STRING041
Gosub LABEL013
Gosub LABEL014
Cls
PrintLn "@X0BTABS-PPE Installation Utility@X07"
Newlines 2
PrintLn "@X0E(OLD: ", STRING042, ")"
PrintLn "@X0CEnter retains old setting"
Newlines 2
PrintLn "@X0FIf you @X0CDO NOT @X0Fwish to promote donations that will not upgrade the callers"
PrintLn "@X0Faccess level (ie. the caller already has an access level higher than what"
PrintLn "@X0Fyou have configured. If you answer YES and have external screens"
PrintLn "@X0Fenabled the screen that you will later configure called (don't promote"
PrintLn "@X0Fdonations) will be displayed, instead of the 3rd upgrade screen (that you"
PrintLn "@X0Fwill configure later. In either case if the caller still elects to enter a"
PrintLn "@X0Fsubscription ID this program will accept the donation. This program will"
PrintLn "@X0FALWAYS except donations from callers that are at higher access levels than"
PrintLn "@X0Fconfigured in the First or Second access levels configuration item. Mostly,"
PrintLn "@X0Fthis setting really effects the internal screens, as you could do the same"
PrintLn "@X0Fthing (if you use external screens) by changing the text in the 3rd donations"
PrintLn "@X0Fscreen setup."
PrintLn ""
InputYN "@X0FDo you wish to @X0CNOT @X0Fpromote additional donations ", STRING010, 11
If (Len(STRING010) < 1) STRING010 = STRING042
Gosub LABEL013
If (STRING010 == "NO") STRING052 = "NO"
Gosub LABEL014
Cls
STRING010 = ""
PrintLn "@X0BTABS-PPE Installation Utility@X07"
Newlines 2
PrintLn "@X0E(OLD: ", STRING043, ")"
PrintLn "@X0CEnter retains old setting"
Newlines 2
PrintLn "@X0FWhat is the filename of the screen which explains this specific"
PrintLn "@X0Fservice the caller chose while at the options display menu or if you"
PrintLn "@X0Fhaven't configured the program to offer both the $10 and the $25 services"
PrintLn "@X0Fthis screen will be displayed instead of the options screen as an introduction"
PrintLn "@X0Fto the service."
PrintLn ""
InputStr "@X0FFor example: @X0CINTRO" + STRING015 + "@X0F: _", STRING010, 11, 45, Mask_File(), 64 + 256 + 8
If (Len(STRING010) <= 1) STRING010 = STRING043
Gosub LABEL014
Cls
Newlines 2
PrintLn "@X0E(OLD: ", STRING044, ")"
PrintLn "@X0CEnter retains old setting"
Newlines 2
PrintLn "@X0FDo you wish to use external screens or write your own."
PrintLn ""
InputYN "@X0F@X0B(@X0EY@X0B) @X0Ffor external screens, @X0B(@X0EN@X0B) @X0Ffor internal screens", STRING010, 11
If (Len(STRING010) < 1) STRING010 = STRING044
Gosub LABEL013
If (STRING010 == "NO") Then
Gosub LABEL014
Gosub LABEL016
Gosub LABEL016
Gosub LABEL016
Gosub LABEL016
Gosub LABEL016
Else
If (STRING010 == "YES") Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING045, ")"
PrintLn "@X0CEnter retains old setting"
Newlines 2
PrintLn "@X0FWhat is the filename of the screen which displays the benefits of"
PrintLn "@X0Fcontributing for the first time at $", STRING015, " this file must"
PrintLn "@X0Freside in the same directory as the PPE. You may have separate"
PrintLn "@X0Fscreens for different access levels and languages. The display screen"
PrintLn "@X0Fnaming conventions are exactly the same as PCBoard's. If you wanted"
PrintLn "@X0Fa display screen for access level 200 and the base file name for"
PrintLn "@X0Fthis screen is 1ST", STRING015, " your level 200 screen name would be"
PrintLn "@X0F1ST", STRING015, "200"
Newlines 2
InputStr "@X0FFor example: @X0C1ST" + STRING015 + "@X0F: _", STRING010, 11, 12, Mask_File(), 64 + 256 + 8
If (Len(STRING010) <= 1) STRING010 = STRING045
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING035, ")"
PrintLn "@X0CEnter retains old setting"
Newlines 2
PrintLn "@X0FWhat is the filename of the screen which displays the benefits of"
PrintLn "@X0Fcontributing for the second time at $", STRING015, " this file must"
PrintLn "@X0Freside in the same directory as the PPE. You may have separate"
PrintLn "@X0Fscreens for different access levels and languages. The display screen"
PrintLn "@X0Fnaming conventions are exactly the same as PCBoard's. If you wanted"
PrintLn "@X0Fa display screen for access level 200 and the base file name for"
PrintLn "@X0Fthis screen is 2ND", STRING015, " your level 200 screen name would be"
PrintLn "@X0F2ND", STRING015, "200"
Newlines 2
InputStr "@X0FFor example: @X0C2ND" + STRING015 + "@X0F: _", STRING010, 11, 12, Mask_File(), 64 + 256 + 8
If (Len(STRING010) <= 1) STRING010 = STRING035
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING031, ")"
PrintLn "@X0CEnter retains old setting"
Newlines 2
PrintLn "@X0FWhat the filename of the screen which displays the benefits of"
PrintLn "@X0Fcontributing three or more times at $", STRING015, " this file must reside"
PrintLn "@X0Fin the same directory as the PPE. You may have separate screens for"
PrintLn "@X0Fdifferent access levels and languages. The display screen naming"
PrintLn "@X0Fconventions are exactly the same as PCBoard's. If you wanted a "
PrintLn "@X0Fdisplay screen for access level 200 and the base file name for this"
PrintLn "@X0Fscreen is 3RD", STRING015, " your 200 screen name would be 2ND", STRING015, "200"
PrintLn "@X0FThis particular screen will be displayed if you answered NO to the"
PrintLn "@X0FDo you wish to NOT promote additional donations question earlier."
PrintLn ""
InputStr "@X0FFor example: @X0C3RD" + STRING015 + "@X0F: _", STRING010, 11, 45, Mask_File(), 64 + 256 + 8
If (Len(STRING010) <= 1) STRING010 = STRING031
Gosub LABEL014
Newlines 2
PrintLn "@X0E(OLD: ", STRING027, ")"
PrintLn "@X0CEnter retains old setting"
Newlines 2
PrintLn "@X0FWhat is the filename of the screen which serves as TABS-PPE's main"
PrintLn "@X0Fbilling menu. This file must reside in the same directory as"
PrintLn "@X0Fthe PPE. You may have separate screens for different access"
PrintLn "@X0Flevels and languages. The display screen naming conventions are"
PrintLn "@X0Fexactly the same as PCBoard's. If you wanted a display screen for"
PrintLn "@X0Faccess level 200 and the base file name for this screen is MEN", STRING015, ""
PrintLn "@X0Fyour 200 screen name would be MEN", STRING015, "200"
PrintLn ""
InputStr "@X0FFor example: @X0CMEN" + STRING015 + "@X0F: _", STRING010, 11, 45, Mask_File(), 64 + 256 + 8
If (Len(STRING010) <= 1) STRING010 = STRING027
Gosub LABEL014
Cls
If (STRING052 == "NO") Then
Gosub LABEL016
Else
Newlines 2
PrintLn "@X0E(OLD: ", STRING023, ")"
PrintLn "@X0CEnter to retains old setting."
Newlines 2
PrintLn "@X0FWhat is the filename of the screen which is displayed to the caller"
PrintLn "@X0Fupon their third and subsequent donations screen. Since you answered"
PrintLn "@X0FYES to the Do you wish to NOT promote additional donations question"
PrintLn "@X0Fearlier. This screen would normally say something like, at your"
PrintLn "@X0Faccess level no further entitlements are granted using this program."
PrintLn "@X0FPlease contact your Sysop for information on higher access levels."
PrintLn ""
InputStr "@X0FFor example: @X0CNOADD" + STRING015 + ": _", STRING010, 11, 45, Mask_File(), 64 + 256 + 8
If (Len(STRING010) <= 1) STRING010 = STRING023
Gosub LABEL014
Endif
Endif
Newlines 3
PrintLn "@X0FThat completes configuration of the @X0C", STRING017, "@X0F file."
Newlines 2
STRING010 = ""
InputYN "Do you wish to save @X0C" + STRING017 + "@X0B (@X0EY@X0F/@X0EN@X0B)@X0F", STRING010, 15
Gosub LABEL013
If (STRING010 == "YES") Goto LABEL012
Select Case (STRING010)
Case "NO"
Newlines 2
STRING010 = ""
InputYN "Do you wish to start all over @X0B(@X0EY@X0F/@X0EN@X0B)@X0F", STRING010, 15
Gosub LABEL013
If (STRING010 == "YES") Then
FClose 1
FClose 2
Delete STRING013
Goto LABEL001
Endif
Case "NO"
Newlines 2
FClose 1
FClose 2
Delete STRING013
End Select
Goto LABEL018
:LABEL012
STRING010 = ""
FClose 1
FClose 2
Delete STRING012 + STRING017
Rename STRING013, STRING012 + STRING017
Delete STRING013
Goto LABEL001
:LABEL013
If (Upper(STRING010) == "YES") STRING010 = "YES"
If (Upper(STRING010) == YesChar()) STRING010 = "YES"
If (Upper(STRING010) == "NO") STRING010 = "NO"
If (Upper(STRING010) == NoChar()) STRING010 = "NO"
Return
:LABEL014
FPutLn 2, Upper(STRING010)
STRING010 = ""
Cls
PrintLn "@X0BTABS-PPE Configuration Utility@X07"
Newlines 2
Return
:LABEL015
FPutLn 2, STRING010
STRING010 = ""
Cls
PrintLn "@X0BTABS-PPE Configuration Utility@X07"
Newlines 2
Return
:LABEL016
FPutLn 2, ""
STRING010 = ""
Cls
PrintLn "@X0BTABS-PPE Configuration Utility@X07"
Newlines 2
Return
:LABEL017
STRING002 = ""
STRING003 = ""
STRING004 = ""
STRING047 = ""
STRING006 = ""
STRING048 = ""
STRING008 = ""
STRING009 = ""
STRING011 = ""
Return
Endif
:LABEL018
FClose 1
FClose 2
Delete STRING013
Delete STRING012 + "CONFIG.FLG"
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 25 Cls
; 69 Goto
; 94 Let
; 260 PrintLn
; 84 If
; 3 FCreate
; 4 FOpen
; 19 FClose
; 49 FGet
; 16 FPutLn
; 12 Delete
; 32 InputStr
; 18 InputYN
; 75 Gosub
; 5 Return
; 4 Delay
; 112 Newlines
; 3 InputText
; 2 Rename
;
;
; ■ Functions used :
;
; 80 +
; 36 ==
; 23 <
; 19 <=
; 1 >
; 31 !
; 43 Len(
; 10 Upper()
; 1 Ferr()
; 2 NoChar()
; 1 YesChar()
; 12 Mask_Num()
; 14 Mask_File()
; 3 Mask_Path()
; 1 PPEPath()
; 4 Exist()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 26 If/Then or If/Then/Else
; 2 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------