home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
UPDATE1.ZIP
/
UPDATE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1993-04-21
|
4KB
|
175 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 STRING002
String STRING003
String STRING004
String STRING005
;------------------------------------------------------------------------------
STRING002 = " 1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM"
GetUser
:LABEL001
STRING003 = ""
STRING004 = ""
STRING005 = ""
Cls
DispFile PPEPath() + "update", 1 + 2 + 4
PrintLn "@X0E 1 @X0F- @X0BStreet & Number: @X0F", U_Addr(0)
PrintLn "@X0E 2 @X0F- @X0B Suite or Unit: @X0F", U_Addr(1)
PrintLn "@X0E 3 @X0F- @X0B City: @X0F", U_Addr(2)
PrintLn "@X0E 4 @X0F- @X0B Province/State: @X0F", U_Addr(3)
PrintLn "@X0E 5 @X0F- @X0BPostal/Zip Code: @X0F", U_Addr(4)
PrintLn "@X0E 6 @X0F- @X0B Country: @X0F", U_Addr(5)
PrintLn
InputStr "@X0E Select @X0F1 - 6@X0E, (@X0FS@X0E)ave or (@X0FQ@X0E)uit without saving@X0F", STRING005, 14, 1, "123456SQ", 10
PrintLn
If (STRING005 == "") Goto LABEL001
If (STRING005 == "1") Goto LABEL002
If (STRING005 == "2") Goto LABEL003
If (STRING005 == "3") Goto LABEL004
If (STRING005 == "4") Goto LABEL005
If (STRING005 == "5") Goto LABEL006
If (STRING005 == "6") Goto LABEL007
If (STRING005 == "S") Goto LABEL008
If (STRING005 == "Q") Goto LABEL011
:LABEL002
PrintLn
InputStr "@X0A Street & Number", STRING003, 14, 45, STRING002, 10
If ((STRING003 == "") || (Left(STRING003, 1) == " ")) Goto LABEL001
U_Addr(0) = STRING003
Goto LABEL001
:LABEL003
PrintLn
InputStr "@X0A Suite or Unit", STRING003, 14, 30, STRING002, 10
If ((STRING003 == "") || (Left(STRING003, 1) == " ")) Goto LABEL001
U_Addr(1) = STRING003
Goto LABEL001
:LABEL004
PrintLn
InputStr "@X0A City", STRING003, 14, 30, STRING002, 10
If ((STRING003 == "") || (Left(STRING003, 1) == " ")) Goto LABEL001
U_Addr(2) = STRING003
Goto LABEL001
:LABEL005
PrintLn
InputStr "@X0A Province/State", STRING003, 14, 10, STRING002, 10
If ((STRING003 == "") || (Left(STRING003, 1) == " ")) Goto LABEL001
U_Addr(3) = STRING003
Goto LABEL001
:LABEL006
PrintLn
InputStr "@X0A Postal/Zip Code", STRING003, 14, 10, STRING002, 10
If ((STRING003 == "") || (Left(STRING003, 1) == " ")) Goto LABEL001
U_Addr(4) = STRING003
Goto LABEL001
:LABEL007
PrintLn
InputStr "@X0A Country", STRING003, 14, 15, STRING002, 10
If ((STRING003 == "") || (Left(STRING003, 1) == " ")) Goto LABEL001
U_Addr(5) = STRING003
Goto LABEL001
:LABEL008
If ((U_Addr(0) == "") || (Left(U_Addr(0), 1) == " ")) Then
Goto LABEL009
ElseIf ((U_Addr(2) == "") || (Left(U_Addr(2), 1) == " ")) Then
Goto LABEL009
ElseIf ((U_Addr(3) == "") || (Left(U_Addr(3), 1) == " ")) Then
Goto LABEL009
ElseIf ((U_Addr(4) == "") || (Left(U_Addr(4), 1) == " ")) Then
Goto LABEL009
Endif
Goto LABEL010
:LABEL009
PrintLn
PrintLn "@X0A You have NOT entered all the information required to complete"
PrintLn "@X0A your USER record."
PrintLn
InputYN "@X0E Do you still want to Exit (y/N)@X07", STRING004, 15
If (STRING004 == "Y") Goto LABEL010
If (STRING004 == "N") Goto LABEL001
If (STRING004 == "") Goto LABEL001
:LABEL010
PrintLn
PrintLn "@X0A Thanks for taking the time to update your USER record @FIRST@."
PrintLn
PrintLn "@X0A In the future if you need to update this information, simply"
PrintLn "@X0A type @X0FUPDATE@X0A at the Main Command prompt.@X07"
PrintLn
PutUser
End
:LABEL011
PrintLn
PrintLn "@X0A Any changes you made will NOT be entered into your USER record."
PrintLn
PrintLn "@X0A In the future if you need to update this information, simply"
PrintLn "@X0A type @X0FUPDATE@X0A at the Main Command prompt.@X07"
PrintLn
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 1 Cls
; 36 Goto
; 10 Let
; 30 PrintLn
; 22 If
; 1 DispFile
; 1 GetUser
; 1 PutUser
; 7 InputStr
; 1 InputYN
;
;
; ■ Functions used :
;
; 3 +
; 32 ==
; 4 !
; 10 ||
; 10 Left()
; 1 PPEPath()
;
;------------------------------------------------------------------------------
;
; Analysis flags : W
;
; 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
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 4 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------