home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
EDSBK115.ZIP
/
PPE.ZIP
/
EDSUTIL.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-02-09
|
16KB
|
665 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
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Boolean BOOLEAN002
String STRING001
String STRING002
String STRING003
;------------------------------------------------------------------------------
PrintLn
PrintLn "@X0FEDSUtil Initializing..."
BOOLEAN001 = 0
STRING002 = ""
STRING003 = 0
Print "@POFF@"
RdUNet PcbNode()
WrUNet PcbNode(), UN_Stat(), UN_Name(), "EDSBack maintenance...", "EDSUtil Main Menu", ""
GetToken STRING003
STRING003 = Strip(Upper(STRING003), " ")
If (STRING003 <> "") Then
STRING002 = STRING003
BOOLEAN002 = 1
Endif
:LABEL001
If (BOOLEAN001) Goto LABEL046
If (BOOLEAN002) Goto LABEL002
KbdChkOn
Cls
PrintLn " @X40┌─────────────────────────────────────────@X4C┐@X07"
PrintLn " @X40│ @X4FEDSUtil v1.15 @X4C│@X07"
PrintLn " @X40│ @X4A(@X4BMaintenance Utility for EDSBack v1.15@X4A) @X4C│@X07"
PrintLn " @X40│ @X4ECopyright (@X47c@X4E) 1994 by Eric D. Scales @X4C│@X07"
PrintLn " @X40└@X4C─────────────────────────────────────────┘@X07"
PrintLn
PrintLn "@X0F@BOARDNAME:80C@"
PrintLn " @X10┌──────────────────────────────────────────────────────────────@X19┐@X07"
PrintLn " @X10│ @X1F(@X1CC@X1F)@X1Eonfiguration file maintenance @X19│@X07"
PrintLn " @X10│ @X1F(@X1CS@X1F)@X1Etatistics file maintenance @X19│@X07"
PrintLn " @X10│ @X1F(@X1CP@X1F)@X1Erompt file maintenance @X19│@X07"
PrintLn " @X10│ @X1F(@X1CN@X1F)@X1Eumber trash can file maintenance (Used #'s) @X19│@X07"
PrintLn " @X10│ @X1F(@X1CT@X1F)@X1Eimetable file maintenance @X19│@X07"
PrintLn " @X10│ @X1F(@X1CB@X1F)@X1Ead number file maintenance @X19│@X07"
PrintLn " @X10│ @X1ESecurity & name trash @X1F(@X1CF@X1F)@X1Eile maintenance @X19│@X07"
PrintLn " @X10│ @X1F(@X1CA@X1F)@X1Ellowed number calling file maintenance @X19│@X07"
PrintLn " @X10│ @X1F(@X1CR@X1F)@X1Eeturn to main @X19│@X07"
PrintLn " @X10└@X19──────────────────────────────────────────────────────────────┘@X07"
PrintLn
STRING002 = ""
InputStr " (H)elp, Enter command", STRING002, 14, 1, "BbCcTtRrPpSsQqAaNnFfHh", 2 + 4
Goto LABEL003
:LABEL002
BOOLEAN002 = 0
:LABEL003
STRING002 = Upper(STRING002)
Select Case (STRING002)
Case "R", "Q"
BOOLEAN001 = 1
Goto LABEL047
Case "H"
Print "@PON@"
DispFile PPEPath() + "EDSUHLP", 1 + 4
Print "@POFF@"
BOOLEAN001 = 0
Case "C"
If (Exist(PPEPath() + "EUTMOD4.PPE")) Goto LABEL004
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD4.PPE does not exist!"
Log PPEPath() + "EUTMOD4.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not edit configuration file..."
Goto LABEL005
:LABEL004
PrintLn
PrintLn "@X0ALoading configuration maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "MODULE 4 - Config File", ""
Call PPEPath() + "EUTMOD4.PPE"
:LABEL005
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "EDSUtil Main Menu", ""
BOOLEAN001 = 0
Case "N"
BOOLEAN001 = 0
STRING001 = "E"
PrintLn
PrintLn
PrintLn " @X0AE@X0C(@X0FX@X0C)@X0Aport Used # Trash File"
PrintLn " @X0AI@X0C(@X0FM@X0C)@X0Aport text file"
PrintLn " @X0C(@X0FC@X0C)@X0Aonvert Trash File (To v1.07 format)"
PrintLn " @X0C(@X0FI@X0C)@X0Andex Used # Trash File"
PrintLn " @X0C(@X0FB@X0C)@X0Auild Used # Trash File"
PrintLn " @X0C(@X0FP@X0C)@X0Aack Used # Trash File"
PrintLn " @X0C(@X0FE@X0C)@X0Adit Used # Trash File"
PrintLn
InputStr "Enter command", STRING001, 11, 1, "PpEeBbCcIiMmXx", 2 + 4
STRING001 = Upper(STRING001)
Select Case (STRING001)
Case "P"
If (Exist(PPEPath() + "EUTMOD2.PPE")) Then
PrintLn
PrintLn "@X0AInitializing already used # trash can editing/packing module..."
PrintLn
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Packing trash file...", ""
Tokenize "1"
Call PPEPath() + "EUTMOD2.PPE"
Else
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD2.PPE does not exist!"
Log PPEPath() + "EUTMOD2.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not pack trash can file..."
Endif
Case "M"
If (Exist(PPEPath() + "EUTMOD2.PPE")) Then
PrintLn
PrintLn "@X0AInitializing trash can importation module..."
PrintLn
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Importing trash file...", ""
Tokenize "6"
Call PPEPath() + "EUTMOD2.PPE"
Else
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD2.PPE does not exist!"
Log PPEPath() + "EUTMOD2.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not import trash can file..."
Endif
Case "X"
If (Exist(PPEPath() + "EUTMOD2.PPE")) Then
PrintLn
PrintLn "@X0AInitializing trash can exportation module..."
PrintLn
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Exporting trash file...", ""
Tokenize "7"
Call PPEPath() + "EUTMOD2.PPE"
Else
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD2.PPE does not exist!"
Log PPEPath() + "EUTMOD2.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not export trash can file..."
Endif
Case "I"
If (Exist(PPEPath() + "EUTMOD2.PPE")) Then
PrintLn
PrintLn "@X0AInitializing trash can indexing module..."
PrintLn
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Indexing trash file...", ""
Tokenize "5"
Call PPEPath() + "EUTMOD2.PPE"
Else
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD2.PPE does not exist!"
Log PPEPath() + "EUTMOD2.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not index trash can file..."
Endif
Case "C"
If (Exist(PPEPath() + "EUTMOD2.PPE")) Then
PrintLn
PrintLn "@X0AInitializing trash can conversion module..."
PrintLn
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Converting trash file...", ""
Tokenize "4"
Call PPEPath() + "EUTMOD2.PPE"
Else
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD2.PPE does not exist!"
Log PPEPath() + "EUTMOD2.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not convert trash can file..."
Endif
Case "B"
PrintLn
PrintLn
STRING001 = "A"
PrintLn "@X0AEach user's record will be searched and the already used number trash file"
PrintLn "will be rebuilt to your specifications."
PrintLn
PrintLn " @X0C(@X0FB@X0C)@X0Auild new trash file and discard the old one"
PrintLn " @X0C(@X0FA@X0C)@X0Add the new records to an existing trash file"
PrintLn " @X0C(@X0FQ@X0C)@X0Auit back to EDSUtil main."
PrintLn
InputStr "Build trash file command", STRING001, 11, 1, "BbAaQq", 2 + 4
Newline
STRING001 = Upper(STRING001)
If (STRING001 <> "Q") Then
If (Exist(PPEPath() + "EUTMOD2.PPE")) Then
PrintLn
PrintLn "@X0AInitializing trash can editing/packing module (BUILD MODE)..."
PrintLn
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Building trash file...", ""
Tokenize "3 " + STRING001
Call PPEPath() + "EUTMOD2.PPE"
Goto LABEL006
Endif
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD2.PPE does not exist!"
Log PPEPath() + "EUTMOD2.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not build trash can file..."
Endif
:LABEL006
STRING001 = "B"
Case "E"
If (Exist(PPEPath() + "EUTMOD2.PPE")) Then
PrintLn
PrintLn "@X0AInitializing trash can editing/packing module..."
PrintLn
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Editing trash file...", ""
Tokenize "2"
Call PPEPath() + "EUTMOD2.PPE"
Goto LABEL007
Endif
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD2.PPE does not exist!"
Log PPEPath() + "EUTMOD2.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not edit trash can file..."
End Select
:LABEL007
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "EDSUtil Main Menu", ""
Case "P"
STRING001 = PPEPath() + "EDSBTXT."
PrintLn
InputStr "EDSBack prompt path & filename", STRING001, 11, 42, Mask_File(), 2 + 4
If (Exist(PPEPath() + "EUTMOD1.PPE")) Goto LABEL008
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD1.PPE does not exist!"
Log PPEPath() + "EUTMOD1.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not edit prompt files..."
Goto LABEL009
:LABEL008
PrintLn
PrintLn "@X0ALoading prompt maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Editing prompts...", ""
Tokenize Trim(STRING001, " ")
Call PPEPath() + "EUTMOD1.PPE"
:LABEL009
BOOLEAN001 = 0
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "EDSUtil Main Menu", ""
Case "S"
If (Exist(PPEPath() + "EUTMOD3.PPE")) Goto LABEL010
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD3.PPE does not exist!"
Log PPEPath() + "EUTMOD3.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not edit stats file..."
Goto LABEL011
:LABEL010
PrintLn
PrintLn "@X0ALoading statistics maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Editing Stats...", ""
Call PPEPath() + "EUTMOD3.PPE"
:LABEL011
BOOLEAN001 = 0
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "EDSUtil Main Menu", ""
Case "T"
PrintLn
PrintLn
PrintLn " @X0C(@X0FP@X0C)@X0Aack Timetables"
PrintLn " @X0C(@X0FE@X0C)@X0Adit Timetables"
PrintLn
STRING001 = "E"
InputStr "Enter command", STRING001, 11, 1, "PpEe", 2 + 4
STRING001 = Upper(STRING001)
If (STRING001 == "P") Then
If (Exist(PPEPath() + "EUTMOD5.PPE")) Goto LABEL012
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD5.PPE does not exist!"
Log PPEPath() + "EUTMOD5.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not pack timetables..."
Goto LABEL013
:LABEL012
PrintLn
PrintLn "@X0ALoading timetable maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Packing Timetables...", ""
Tokenize "1"
Call PPEPath() + "EUTMOD5.PPE"
:LABEL013
Else
If (Exist(PPEPath() + "EUTMOD5.PPE")) Goto LABEL014
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD5.PPE does not exist!"
Log PPEPath() + "EUTMOD5.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not edit timetables..."
Goto LABEL015
:LABEL014
PrintLn
PrintLn "@X0ALoading timetable maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Editing Timetables...", ""
Tokenize "2"
Call PPEPath() + "EUTMOD5.PPE"
Endif
:LABEL015
BOOLEAN001 = 0
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "EDSUtil Main Menu", ""
Case "B"
PrintLn
PrintLn
PrintLn " @X0AE@X0C(@X0FX@X0C)@X0Aport Bad Number File"
PrintLn " @X0C(@X0FI@X0C)@X0Amport text file"
PrintLn " @X0C(@X0FP@X0C)@X0Aack Bad Number File"
PrintLn " @X0C(@X0FE@X0C)@X0Adit Bad Number File"
PrintLn
STRING001 = "E"
InputStr "Enter command", STRING001, 11, 1, "PpEeIiXx", 2 + 4
STRING001 = Upper(STRING001)
Select Case (STRING001)
Case "P"
If (Exist(PPEPath() + "EUTMOD7.PPE")) Goto LABEL016
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD7.PPE does not exist!"
Log PPEPath() + "EUTMOD7.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not pack bad number file..."
Goto LABEL017
:LABEL016
PrintLn
PrintLn "@X0ALoading bad number file maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Packing Bad Number File", ""
Tokenize "1"
Call PPEPath() + "EUTMOD7.PPE"
:LABEL017
Case "I"
If (Exist(PPEPath() + "EUTMOD7.PPE")) Goto LABEL018
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD7.PPE does not exist!"
Log PPEPath() + "EUTMOD7.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not import text into bad number file..."
Goto LABEL019
:LABEL018
PrintLn
PrintLn "@X0ALoading bad number file importation module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Importing Bad Number File", ""
Tokenize "3"
Call PPEPath() + "EUTMOD7.PPE"
:LABEL019
Case "X"
If (Exist(PPEPath() + "EUTMOD7.PPE")) Goto LABEL020
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD7.PPE does not exist!"
Log PPEPath() + "EUTMOD7.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not export text into bad number file..."
Goto LABEL021
:LABEL020
PrintLn
PrintLn "@X0ALoading bad number file exportation module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Exporting Bad Number File", ""
Tokenize "4"
Call PPEPath() + "EUTMOD7.PPE"
:LABEL021
Case "E"
If (Exist(PPEPath() + "EUTMOD7.PPE")) Goto LABEL022
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD7.PPE does not exist!"
Log PPEPath() + "EUTMOD7.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not edit bad number file..."
Goto LABEL023
:LABEL022
PrintLn
PrintLn "@X0ALoading bad number file maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Editing Bad Number File...", ""
Tokenize "2"
Call PPEPath() + "EUTMOD7.PPE"
End Select
:LABEL023
BOOLEAN001 = 0
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "EDSUtil Main Menu", ""
Case "A"
PrintLn
PrintLn
PrintLn " @X0C(@X0FI@X0C)@X0Amport Text File"
PrintLn " @X0AE@X0C(@X0FX@X0C)@X0Aport Text File"
PrintLn " @X0AEdit @X0C(@X0FD@X0C)@X0Aialing Templates"
PrintLn " @X0APack Dialing @X0C(@X0FT@X0C)@X0Aemplates"
PrintLn " @X0AI@X0C(@X0FN@X0C)@X0Adex Allowed # Calling File"
PrintLn " @X0C(@X0FP@X0C)@X0Aack Allowed # Calling file"
PrintLn " @X0C(@X0FE@X0C)@X0Adit Allowed # Calling file"
PrintLn
STRING001 = "E"
InputStr "Enter command", STRING001, 11, 1, "PpEeIiDdTtXxNn", 2 + 4
STRING001 = Upper(STRING001)
Select Case (STRING001)
Case "P"
If (Exist(PPEPath() + "EUTMOD8.PPE")) Goto LABEL024
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD8.PPE does not exist!"
Log PPEPath() + "EUTMOD8.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not pack allowed # calling file..."
Goto LABEL025
:LABEL024
PrintLn
PrintLn "@X0ALoading allowed calling # maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Packing Allowed # Calling File...", ""
Tokenize "1"
Call PPEPath() + "EUTMOD8.PPE"
:LABEL025
Case "N"
If (Exist(PPEPath() + "EUTMOD8.PPE")) Goto LABEL026
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD8.PPE does not exist!"
Log PPEPath() + "EUTMOD8.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not index allowed # calling file..."
Goto LABEL027
:LABEL026
PrintLn
PrintLn "@X0ALoading allowed # calling indexing module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Indexing Allowed Calling File", ""
Tokenize "5"
Call PPEPath() + "EUTMOD8.PPE"
:LABEL027
Case "T"
If (Exist(PPEPath() + "EUTMOD8.PPE")) Goto LABEL028
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD8.PPE does not exist!"
Log PPEPath() + "EUTMOD8.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not pack dialing templates..."
Goto LABEL029
:LABEL028
PrintLn
PrintLn "@X0ALoading dialing templates packing module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Packing dialing templates", ""
Tokenize "6"
Call PPEPath() + "EUTMOD8.PPE"
:LABEL029
Case "D"
If (Exist(PPEPath() + "EUTMOD8.PPE")) Goto LABEL030
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD8.PPE does not exist!"
Log PPEPath() + "EUTMOD8.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not maintain dialing templates..."
Goto LABEL031
:LABEL030
PrintLn
PrintLn "@X0ALoading dialing templates maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Maintaining Dialing Templates", ""
Tokenize "7"
Call PPEPath() + "EUTMOD8.PPE"
:LABEL031
Case "I"
If (Exist(PPEPath() + "EUTMOD8.PPE")) Goto LABEL032
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD8.PPE does not exist!"
Log PPEPath() + "EUTMOD8.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not import text file..."
Goto LABEL033
:LABEL032
PrintLn
PrintLn "@X0ALoading allowed # calling text importation module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Importing Allowed # Calling File...", ""
Tokenize "3"
Call PPEPath() + "EUTMOD8.PPE"
:LABEL033
Case "X"
If (Exist(PPEPath() + "EUTMOD8.PPE")) Goto LABEL034
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD8.PPE does not exist!"
Log PPEPath() + "EUTMOD8.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not export allowed # calling file..."
Goto LABEL035
:LABEL034
PrintLn
PrintLn "@X0ALoading allowed # calling exportation module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Exporting Allowed Calling File...", ""
Tokenize "4"
Call PPEPath() + "EUTMOD8.PPE"
:LABEL035
Case "E"
If (Exist(PPEPath() + "EUTMOD8.PPE")) Goto LABEL036
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD8.PPE does not exist!"
Log PPEPath() + "EUTMOD8.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not edit allowed # calling file..."
Goto LABEL037
:LABEL036
PrintLn
PrintLn "@X0ALoading allowed # maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Editing Allowed # Calling File...", ""
Tokenize "2"
Call PPEPath() + "EUTMOD8.PPE"
End Select
:LABEL037
BOOLEAN001 = 0
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "EDSUtil Main Menu", ""
Case "F"
PrintLn
PrintLn
PrintLn " @X0AE@X0C(@X0FX@X0C)@X0Aport Username & Security Trashfiles"
PrintLn " @X0C(@X0FI@X0C)@X0Amport text file"
PrintLn " @X0C(@X0FP@X0C)@X0Aack Username & Security Trashfiles"
PrintLn " @X0C(@X0FE@X0C)@X0Adit Username & Security Trashfiles"
PrintLn
STRING001 = "E"
InputStr "Enter command", STRING001, 11, 1, "PpEeIiXx", 2 + 4
STRING001 = Upper(STRING001)
If (STRING001 == "P") Then
If (Exist(PPEPath() + "EUTMOD6.PPE")) Goto LABEL038
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD6.PPE does not exist!"
Log PPEPath() + "EUTMOD6.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not pack trashfiles..."
Goto LABEL039
:LABEL038
PrintLn
PrintLn "@X0ALoading name & security trashfiles maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Packing Trashfiles...", ""
Tokenize "1"
Call PPEPath() + "EUTMOD6.PPE"
:LABEL039
Goto LABEL045
Endif
If (STRING001 == "I") Then
If (Exist(PPEPath() + "EUTMOD6.PPE")) Goto LABEL040
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD6.PPE does not exist!"
Log PPEPath() + "EUTMOD6.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not import text into trashfiles..."
Goto LABEL041
:LABEL040
PrintLn
PrintLn "@X0ALoading name & security trashfiles importation module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Importing Trashfiles...", ""
Tokenize "3"
Call PPEPath() + "EUTMOD6.PPE"
:LABEL041
Goto LABEL045
Endif
If (STRING001 == "X") Then
If (Exist(PPEPath() + "EUTMOD6.PPE")) Goto LABEL042
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD6.PPE does not exist!"
Log PPEPath() + "EUTMOD6.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not export trashfiles..."
Goto LABEL043
:LABEL042
PrintLn
PrintLn "@X0ALoading name & security trashfiles exportation module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Exporting Trashfiles...", ""
Tokenize "4"
Call PPEPath() + "EUTMOD6.PPE"
:LABEL043
Goto LABEL045
Endif
If (STRING001 == "E") Then
If (Exist(PPEPath() + "EUTMOD6.PPE")) Goto LABEL044
PrintLn
PrintLn "@X0C" + PPEPath() + "EUTMOD6.PPE does not exist!"
Log PPEPath() + "EUTMOD6.PPE does not exist!", 0
PrintLn
PrintLn "@X0ACould not edit trashfiles..."
Goto LABEL045
:LABEL044
PrintLn
PrintLn "@X0ALoading name & security trashfiles maintenance module..."
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "Editing Trashfiles...", ""
Tokenize "2"
Call PPEPath() + "EUTMOD6.PPE"
Endif
:LABEL045
BOOLEAN001 = 0
WrUNet PcbNode(), UN_Stat(), UN_Name(), UN_City(), "EDSUtil Main Menu", ""
End Select
Goto LABEL001
:LABEL046
:LABEL047
Print "@PON@"
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 1 Cls
; 123 Goto
; 33 Let
; 4 Print
; 239 PrintLn
; 64 If
; 1 DispFile
; 27 Log
; 8 InputStr
; 1 Newline
; 25 Tokenize
; 1 GetToken
; 27 Call
; 1 KbdChkOn
; 1 RdUNet
; 36 WrUNet
;
;
; ■ Functions used :
;
; 147 +
; 34 ==
; 2 <>
; 64 !
; 1 ||
; 8 Upper()
; 1 Trim()
; 1 Strip()
; 1 Mask_File()
; 110 PPEPath()
; 37 PcbNode()
; 36 UN_Stat()
; 36 UN_Name()
; 35 UN_City()
; 27 Exist()
;
;------------------------------------------------------------------------------
;
; Analysis flags : C
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 14 If/Then or If/Then/Else
; 4 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------