home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
pcboard
/
seted10.zip
/
SETED.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1993-05-05
|
6KB
|
278 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 1.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
String STRING016
;------------------------------------------------------------------------------
STRING014 = " 1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"
STRING015 = "~!@#$%^&*()_+|\=-{}][:';<>.,?/1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"
GetUser
:LABEL001
Cls
PrintLn "SETED V1.0 Copyright 1993 By Ralph LoBianco"
PrintLn "@X0E Your User Settings "
PrintLn "@X0E1 @X0F- @X0BYour Password is : @X0F", U_Pwd
PrintLn "@X0E2 @X0F- @X0BYour City is : @X0F", U_City
PrintLn "@X0E3 @X0F- @X0BBusiness/Data Phone # : @X0F", U_BDPhone
PrintLn "@X0E4 @X0F- @X0BHome/Voice Phone # : @X0F", U_HVPhone
PrintLn "@X0E5 @X0F- @X0BBrand Of CPU : @X0F", U_Cmnt1
STRING010 = U_Cls
Gosub LABEL028
PrintLn "@X0E6 @X0F- @X0BClear Screen Between Messages : @X0F", STRING011
STRING010 = U_Scroll
Gosub LABEL028
PrintLn "@X0E7 @X0F- @X0BScroll Multi Screen Messages : @X0F", STRING011
STRING010 = U_LongHDR
Gosub LABEL028
PrintLn "@X0E8 @X0F- @X0BUse Long Headers when Reading Messages: @X0F", STRING011
If ((U_FSE == 0) && (U_FSEP == 0)) STRING009 = "N"
If ((U_FSE == 1) && (U_FSEP == 0)) STRING009 = "Y"
If ((U_FSEP == 1) && (U_FSE == 0)) STRING009 = "A"
PrintLn "@X0E9 @X0F- @X0BFull Screen Editor : @X0F", STRING009
STRING010 = U_Def79
Gosub LABEL028
PrintLn "@X0E10@X0F- @X0BSet Editor Workspace default to 79 Col: @X0F", STRING011
STRING016 = 10
If (Psa(1) == 1) Gosub LABEL002
If (Psa(3) == 1) Gosub LABEL003
Goto LABEL004
:LABEL002
PrintLn "@X0E11@X0F- @X0BAlias Name : @X0F", U_Alias
STRING016 = 11
PrintLn " "
Return
:LABEL003
PrintLn "@X0E Address Information"
PrintLn "@X0E", STRING016 + 1, "@X0F- @X0BStreet (1 of 2): @X0F", U_Addr(0)
PrintLn "@X0E", STRING016 + 2, "@X0F- @X0BStreet (2 of 2): @X0F", U_Addr(1)
PrintLn "@X0E", STRING016 + 3, "@X0F- @X0BCity : @X0F", U_Addr(2)
PrintLn "@X0E", STRING016 + 4, "@X0F- @X0BProvince/State : @X0F", U_Addr(3)
PrintLn "@X0E", STRING016 + 5, "@X0F- @X0BPostal/Zip Code: @X0F", U_Addr(4)
PrintLn "@X0E", STRING016 + 6, "@X0F- @X0BCountry : @X0F", U_Addr(5)
STRING016 = STRING016 + 6
Return
:LABEL004
InputStr " EDIT 1 - " + STRING016 + " or Q to Quit?", STRING008, 14, 2, "1234567890Q", 10
PrintLn
If (STRING008 == "") Goto LABEL001
If (STRING008 == "1") Goto LABEL007
If (STRING008 == "2") Goto LABEL009
If (STRING008 == "3") Goto LABEL010
If (STRING008 == "4") Goto LABEL011
If (STRING008 == "5") Goto LABEL012
If (STRING008 == "6") Goto LABEL013
If (STRING008 == "7") Goto LABEL014
If (STRING008 == "8") Goto LABEL015
If (STRING008 == "9") Goto LABEL016
If (STRING008 == "10") Goto LABEL020
If (Psa(1) == 0) Goto LABEL005
If (STRING008 == "11") Goto LABEL021
:LABEL005
If (Psa(3) == 0) Goto LABEL006
If (STRING008 == String(STRING016 - 5)) Goto LABEL022
If (STRING008 == String(STRING016 - 4)) Goto LABEL023
If (STRING008 == String(STRING016 - 3)) Goto LABEL024
If (STRING008 == String(STRING016 - 2)) Goto LABEL025
If (STRING008 == String(STRING016 - 1)) Goto LABEL026
If (STRING008 == String(STRING016 - 0)) Goto LABEL027
:LABEL006
If (STRING008 == "Q") Goto LABEL030
:LABEL007
InputStr "@X0AEnter New Password Now :", STRING012, 14, 12, STRING015, 10
PrintLn
If (STRING012 == "") Goto LABEL001
InputStr "@X0AEnter Again To verify :", STRING013, 14, 12, STRING015, 10
PrintLn
If (STRING012 <> STRING013) Goto LABEL008
U_Pwd = STRING013
Goto LABEL001
:LABEL008
PrintLn "Passwords Don't Match Try Again..."
PrintLn
Goto LABEL007
:LABEL009
InputStr "@X0AEnter Your City : ", U_City, 14, 12, STRING014, 10
PrintLn
Goto LABEL001
:LABEL010
InputStr "@X0AEnter Your Data Phone Number : ", U_BDPhone, 14, 12, "1234567890-()", 10
PrintLn
Goto LABEL001
:LABEL011
InputStr "@X0AEnter Your Home/Voice Phone Number : ", U_HVPhone, 14, 12, "1234567890-()", 10
PrintLn
Goto LABEL001
:LABEL012
InputStr "@X0AEnter Your Computer Type : ", U_Cmnt1, 14, 12, STRING014, 10
PrintLn
Goto LABEL001
:LABEL013
STRING010 = U_Cls
Gosub LABEL028
InputYN "@X0AClear Screen Between Messages", STRING011, 14
PrintLn
Gosub LABEL029
U_Cls = STRING010
Goto LABEL001
:LABEL014
STRING010 = U_Scroll
Gosub LABEL028
InputYN "@X0AScroll Multi Screen Messages", STRING011, 14
PrintLn
Gosub LABEL029
U_Scroll = STRING010
Goto LABEL001
:LABEL015
STRING010 = U_LongHDR
Gosub LABEL028
InputYN "@X0AUse Long headers when reading messages", STRING011, 14
PrintLn
Gosub LABEL029
U_LongHDR = STRING010
Goto LABEL001
:LABEL016
InputStr "@X0AFull Screen Editor (Yes/No/Ask)", STRING009, 14, 1, "YNA", 10
If (STRING009 == "Y") Gosub LABEL017
If (STRING009 == "N") Gosub LABEL018
If (STRING009 == "A") Gosub LABEL019
PrintLn
Goto LABEL001
:LABEL017
U_FSE = 1
U_FSEP = 0
Return
:LABEL018
U_FSE = 0
U_FSEP = 0
Return
:LABEL019
U_FSE = 0
U_FSEP = 1
Return
:LABEL020
STRING010 = U_Def79
Gosub LABEL028
InputYN "@X0ASet Editor workspace default to 79 columns", STRING011, 14
PrintLn
Gosub LABEL029
U_Def79 = STRING010
Goto LABEL001
:LABEL021
InputStr "@X0AAlias Name", U_Alias, 14, 20, STRING014, 10
PrintLn
Goto LABEL001
:LABEL022
InputStr "@X0AStreet (1 of 2):", U_Addr(0), 14, 30, STRING014, 10
PrintLn
Goto LABEL001
:LABEL023
InputStr "@X0AStreet (2 of 2):", U_Addr(1), 14, 30, STRING014, 10
PrintLn
Goto LABEL001
:LABEL024
InputStr "@X0ACity:", U_Addr(2), 14, 30, STRING014, 10
PrintLn
Goto LABEL001
:LABEL025
InputStr "@X0AProvince/State:", U_Addr(3), 14, 30, STRING014, 10
PrintLn
Goto LABEL001
:LABEL026
InputStr "@X0APostal/Zip Code:", U_Addr(4), 14, 12, "1234567890-", 10
PrintLn
Goto LABEL001
:LABEL027
InputStr "@X0ACountry:", U_Addr(5), 14, 10, STRING014, 10
PrintLn
Goto LABEL001
:LABEL028
If (STRING010 == 1) STRING011 = "Y"
If (STRING010 == 0) STRING011 = "N"
Return
:LABEL029
If (STRING011 == "Y") STRING010 = 1
If (STRING011 == "N") STRING010 = 0
Return
:LABEL030
PutUser
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 Cls
; 42 Goto
; 31 Let
; 42 PrintLn
; 35 If
; 1 GetUser
; 1 PutUser
; 15 InputStr
; 4 InputYN
; 17 Gosub
; 7 Return
;
;
; ■ Functions used :
;
; 9 +
; 6 -
; 37 ==
; 1 <>
; 3 &&
; 6 String()
; 4 Psa()
;
;------------------------------------------------------------------------------
;
; Analysis flags : WH
;
; W - Write user ■ 5
; Program writes a user record. Although this may be normal for a
; User Editor, it may also be a way to modify an account level.
; ■ Search for : PUTUSER
;
; H - Read Password or Password History ■ 5
; Program is reading the user's password or last password history
; This may be ok for a password manager, but it is very suspect. Check!
; ■ Search for : U_PWDHIST, U_PWD
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------