home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
MTH_WUI1.ZIP
/
W.PPE
(
.txt
)
< prev
Wrap
PCBoard Programming Language Executable
|
1994-02-20
|
4KB
|
261 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 BOOLEAN006
Integer INTEGER001
Integer INTEGER002
String STRING006
;------------------------------------------------------------------------------
DispFile PPEPath() + "W.PCB", 0
GetUser
Color 7
AnsiPos 44, 5
Print "Disclosed"
AnsiPos 44, 6
Print U_City
AnsiPos 44, 7
Print U_BDPhone
AnsiPos 44, 8
Print U_HVPhone
AnsiPos 44, 9
Print U_Cmnt1
AnsiPos 44, 10
If (U_Cls == 1) Print "Yes"
If (U_Cls == 0) Print "No"
AnsiPos 44, 11
If (U_Scroll == 1) Print "Yes"
If (U_Scroll == 0) Print "No"
AnsiPos 44, 12
If (U_LongHDR == 1) Print "Yes"
If (U_LongHDR == 0) Print "No"
AnsiPos 44, 13
If (U_FSEP == 1) Print "Ask"
If (U_FSEP == 0) Print "Yes"
AnsiPos 44, 14
If (U_Def79 == 1) Print "Yes"
If (U_Def79 == 0) Print "No"
:LABEL001
PutUser
AnsiPos 35, 20
PrintLn "@X09Coded by Eddie [=BROON'S BANE=] 201-XXX-XXXX"
Color 7
AnsiPos 43, 17
:LABEL002
If (BOOLEAN006) Goto LABEL003
STRING006 = Inkey()
If (STRING006 == "0") Then
AnsiPos 44, 5
Print "@X08▒▒▒▒▒▒▒▒▒▒▒▒"
AnsiPos 43, 5
InputStr " _", U_Pwd, 0, 12, Mask_Ascii(), 256 + 8
AnsiPos 44, 5
Print "@X07Disclosed "
Goto LABEL001
Endif
If (STRING006 == "1") Then
AnsiPos 44, 6
Print "@X08▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒"
AnsiPos 43, 6
InputStr " _", U_City, 0, 24, Mask_Ascii(), 256 + 8
AnsiPos 44, 6
INTEGER001 = 24 - Len(U_City)
Print U_City
For INTEGER002 = 1 To INTEGER001
Print " "
Next
Goto LABEL001
Endif
If (STRING006 == "2") Then
AnsiPos 44, 7
Print "@X08▒▒▒▒▒▒▒▒▒▒▒▒▒"
AnsiPos 43, 7
InputStr " _", U_BDPhone, 0, 13, Mask_Ascii(), 256 + 8
AnsiPos 44, 7
INTEGER001 = 13 - Len(U_BDPhone)
Print U_BDPhone
For INTEGER002 = 1 To INTEGER001
Print " "
Next
Goto LABEL001
Endif
If (STRING006 == "3") Then
AnsiPos 44, 8
Print "@X08▒▒▒▒▒▒▒▒▒▒▒▒▒"
AnsiPos 43, 8
InputStr " _", U_HVPhone, 0, 13, Mask_Ascii(), 256 + 8
AnsiPos 44, 8
INTEGER001 = 13 - Len(U_HVPhone)
Print U_HVPhone
For INTEGER002 = 1 To INTEGER001
Print " "
Next
Goto LABEL001
Endif
If (STRING006 == "4") Then
AnsiPos 44, 9
Print "@X08▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒"
AnsiPos 43, 9
InputStr " _", U_Cmnt1, 0, 30, Mask_Ascii(), 256 + 8
AnsiPos 44, 9
INTEGER001 = 30 - Len(U_Cmnt1)
Print U_Cmnt1
For INTEGER002 = 1 To INTEGER001
Print " "
Next
Goto LABEL001
Endif
If (STRING006 == "5") Then
AnsiPos 44, 10
If (U_Cls == 1) Then
Print "No "
U_Cls = 0
Goto LABEL001
Endif
If (U_Cls == 0) Then
Print "Yes"
U_Cls = 1
Goto LABEL001
Endif
Endif
If (STRING006 == "6") Then
AnsiPos 44, 11
If (U_Scroll == 1) Then
Print "No "
U_Scroll = 0
Goto LABEL001
Endif
If (U_Scroll == 0) Then
Print "Yes"
U_Scroll = 1
Goto LABEL001
Endif
Endif
If (STRING006 == "7") Then
AnsiPos 44, 12
If (U_LongHDR == 1) Then
Print "No "
U_LongHDR = 0
Goto LABEL001
Endif
If (U_LongHDR == 0) Then
Print "Yes"
U_LongHDR = 1
Goto LABEL001
Endif
Endif
If (STRING006 == "8") Then
AnsiPos 44, 13
If (U_FSEP == 1) Then
Print "Ask"
U_FSEP = 0
Goto LABEL001
Endif
If (U_FSEP == 0) Then
Print "Yes"
U_FSEP = 1
Goto LABEL001
Endif
Endif
If (STRING006 == "9") Then
AnsiPos 44, 14
If (U_Def79 == 1) Then
Print "No "
U_Def79 = 0
Goto LABEL001
Endif
If (U_Def79 == 0) Then
Print "Yes"
U_Def79 = 1
Goto LABEL001
Endif
Endif
If ((STRING006 == "Q") || (STRING006 == "q")) Then
AnsiPos 1, 23
BOOLEAN006 = 1
Endif
Goto LABEL002
:LABEL003
Wait
Return
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 Wait
; 2 Color
; 46 Goto
; 24 Let
; 39 Print
; 1 PrintLn
; 36 If
; 1 DispFile
; 1 GetUser
; 1 PutUser
; 5 InputStr
; 1 Return
; 33 AnsiPos
;
;
; ■ Functions used :
;
; 10 +
; 4 -
; 32 ==
; 4 <
; 4 <=
; 8 >=
; 26 !
; 8 &&
; 5 ||
; 4 Len(
; 1 Inkey()
; 5 Mask_Ascii()
; 1 PPEPath()
;
;------------------------------------------------------------------------------
;
; 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
;
; 4 For/Next
; 0 While/EndWhile
; 21 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------