home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
SCUM_FPS.ZIP
/
FPEDITOR.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-03-04
|
3KB
|
208 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
Integer INTEGER001
Integer INTEGER002
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
;------------------------------------------------------------------------------
GetUser
BOOLEAN001 = 0
STRING002 = U_Notes(3)
Tokenize STRING002
STRING003 = GetToken()
STRING004 = GetToken()
STRING005 = GetToken()
DispStr "@CLS@"
DispStr " "
Newline
DispStr " @X0F▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄"
Newline
DispStr " @X70@X70 File Point Editor @X70"
Newline
DispStr "@X08 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"
Newline
DispStr " "
Newline
DispStr " @X04[ @X0FC @X04] @X01Edit Current Online User"
Newline
DispStr " @X04[ @X0FA @X04] @X01Edit Another User's record"
Newline
DispStr " @X04[ @X0FQ @X04] @X01Quit back to the board"
Newline
DispStr " @X04[ @X0FG @X04] @X01Goodbye (logoff)"
Newline
DispStr " "
Newline
DispStr " @X01┌───[@X0F@MINLEFT@ Mins Left@X01]────[@X0F@CONFNAME@ Conference (@CONFNUM@)@X01]──────────────"
Newline
DispStr " └────────[@X0FYour Selection@X01]─┤@X07"
:LABEL001
If (BOOLEAN001) Goto LABEL003
InputStr " ", STRING006, 7, 1, Mask_Ascii(), 8 + 256
If (STRING006 == "") Then
BOOLEAN001 = 1
Newline
DispStr "@X08File Point Editor v1.0 coded by Liquidater"
Newline
End
Endif
If (STRING006 == "C") Then
BOOLEAN001 = 1
Newline
DispStr "@X01Current File Points [@X0F" + STRING004 + "@X01]"
Newline
Newline
DispStr "@X03Enter the new value (@X07ENTER@X03)=Abort :"
InputStr " ", STRING007, 7, 12, Mask_Ascii(), 256
INTEGER001 = S2I(STRING007, 10)
If (INTEGER001 > 0) Then
U_Notes(3) = STRING003 + " " + STRING007 + " " + STRING005
PutUser
DispStr "@X07User record has been updated!"
Newline
Endif
Endif
If (STRING006 == "A") Then
BOOLEAN001 = 1
Newline
DispStr "@X04Enter user's handle to edit : @X07"
InputStr " ", STRING008, 7, 25, Mask_Ascii(), 8 + 256
INTEGER002 = U_RecNum(STRING008)
If (INTEGER002 < 0) Then
Newline
DispStr "@X04User not found! (@X0F" + STRING008 + "@X04)"
Newline
InputStr "@X08Press ENTER to continue...", STRING009, 8, 1, Mask_Ascii(), 256
Goto LABEL002
Endif
If (INTEGER002 >= 0) Then
GetAltUser INTEGER002
STRING002 = U_Notes(3)
Tokenize STRING002
STRING003 = GetToken()
STRING004 = GetToken()
STRING005 = GetToken()
Newline
DispStr "@X01Current File Points [@X0F" + STRING004 + "@X01]"
Newline
Newline
DispStr "@X03Enter the new value (@X07ENTER@X03)=Abort :"
InputStr " ", STRING007, 7, 12, Mask_Ascii(), 256
INTEGER001 = S2I(STRING007, 10)
If (INTEGER001 > 0) Then
U_Notes(3) = STRING003 + " " + STRING007 + " " + STRING005
PutUser
DispStr "@X07User record has been Updated!"
Newline
Endif
Endif
Endif
:LABEL002
If (STRING006 == "G") Then
BOOLEAN001 = 1
Newline
DispStr "@X08File Point Editor v1.0 coded by Liquidater"
Newline
Goodbye
End
Endif
If (STRING006 == "Q") Then
BOOLEAN001 = 1
Newline
DispStr "@X08File Point Editor v1.0 coded by Liquidater"
End
Endif
Goto LABEL001
:LABEL003
Newline
DispStr "@X08File Point Editor v1.0 coded by Liquidater"
Newline
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 4 End
; 12 Goto
; 19 Let
; 10 If
; 1 GetUser
; 2 PutUser
; 5 InputStr
; 29 Newline
; 2 Tokenize
; 1 Goodbye
; 25 DispStr
; 1 GetAltUser
;
;
; ■ Functions used :
;
; 16 +
; 5 ==
; 1 <
; 2 >
; 1 >=
; 10 !
; 5 Mask_Ascii()
; 6 GetToken()
; 2 S2I()
; 1 U_RecNum()
;
;------------------------------------------------------------------------------
;
; Analysis flags : WR
;
; 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
;
; R - Read user ■ 5
; User records are read, this may signify that someone wants to get
; various informations about a user (for example his password), but
; this may also be normal for a program accessing user records (for
; example a User Editor)
; ■ Search for : GETALTUSER
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 9 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------