home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
USERV1_3.ZIP
/
USER.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-03-02
|
2KB
|
143 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
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
;------------------------------------------------------------------------------
STRING001 = ReadLine(PCBDat(), 29)
INTEGER003 = FileInf(STRING001, 4)
INTEGER002 = INTEGER003 / 400
STRING002 = ReadLine(PPEPath() + "USER.CFG", 1)
STRING003 = ReadLine(PPEPath() + "USER.CFG", 2)
STRING004 = ReadLine(PPEPath() + "USER.CFG", 3)
STRING005 = ReadLine(PPEPath() + "USER.CFG", 4)
STRING006 = ReadLine(PPEPath() + "USER.CFG", 5)
STRING007 = ReadLine(PPEPath() + "USER.CFG", 6)
STRING008 = ReadLine(PPEPath() + "USER.CFG", 7)
STRING009 = ReadLine(PPEPath() + "USER.CFG", 8)
GetUser
If (STRING008 == "ULDL") Goto LABEL001
If (STRING008 == "LDATE") Goto LABEL002
If (Exist(PPEPath() + "HEADER1")) DispFile PPEPath() + "HEADER1", 4 + 2 + 1
For INTEGER001 = 1 To INTEGER002
GetAltUser INTEGER001
PrintLn STRING009 + "│@POS:3@" + STRING002 + String(U_Name()) + "@POS:28@" + STRING009 + "│@POS:30@" + STRING003 + String(U_City) + "@POS:54@" + STRING009 + "│@POS:56@ " + STRING004 + String(U_Logons()) + "@POS:64@" + STRING009 + "│@POS:66@" + STRING005 + String(U_LDate()) + "@POS:75@" + STRING009 + " │"
Next
Newline
Goto LABEL003
:LABEL001
If (Exist(PPEPath() + "HEADER2")) DispFile PPEPath() + "HEADER2", 4 + 2 + 1
For INTEGER001 = 1 To INTEGER002
GetAltUser INTEGER001
PrintLn STRING009 + "│@POS:3@" + STRING002 + String(U_Name()) + "@POS:28@" + STRING009 + "│@POS:30@" + STRING003 + String(U_City) + "@POS:54@" + STRING009 + "│@POS:56@ " + STRING004 + String(U_Logons()) + "@POS:64@" + STRING009 + "│@POS:66@" + STRING005 + String(U_Ful()) + STRING006 + " / " + STRING007 + String(U_Fdl()) + "@POS:75@" + STRING009 + " │"
Next
Newline
Goto LABEL003
:LABEL002
If (Exist(PPEPath() + "HEADER3")) DispFile PPEPath() + "HEADER3", 4 + 2 + 1
For INTEGER001 = 1 To INTEGER002
GetAltUser INTEGER001
PrintLn STRING009 + "│@POS:3@" + STRING002 + String(U_Name()) + "@POS:28@" + STRING009 + "│@POS:30@" + STRING003 + String(U_City) + "@POS:54@" + STRING009 + "│@POS:56@ " + STRING004 + String(U_Logons()) + "@POS:64@" + STRING009 + "│@POS:66@" + STRING005 + String(U_LDate()) + "@POS:75@" + STRING009 + " │"
Next
Newline
:LABEL003
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 10 Goto
; 17 Let
; 3 PrintLn
; 8 If
; 3 DispFile
; 1 GetUser
; 3 Newline
; 3 GetAltUser
;
;
; ■ Functions used :
;
; 1 /
; 90 +
; 2 ==
; 3 <
; 3 <=
; 6 >=
; 3 !
; 6 &&
; 3 ||
; 3 U_Name()
; 2 U_LDate()
; 3 U_Logons()
; 1 U_Ful()
; 1 U_Fdl()
; 13 String()
; 1 PCBDat()
; 14 PPEPath()
; 9 ReadLine()
; 3 Exist()
; 1 FileInf()
;
;------------------------------------------------------------------------------
;
; Analysis flags : Rd
;
; 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
;
; d - Access PCBOARD.DAT ■ 2
; Program gets the full pathname to PCBOARD.DAT, this may be usefull
; for many PPE so they can find various informations on the system
; (system paths, max number of lines in messages, ...) but it may also
; be a way to gather vital informations.
; ■ Search for : PCBDAT()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 3 For/Next
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------