home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
SPTQUOTE.ZIP
/
SPTQUOTE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-07-21
|
1KB
|
127 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 3.1O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
Int INT001
Int INT002
Int INT003
;------------------------------------------------------------------------------
INT001 = S2I(ReadLine(PPEPath() + PPEName() + ".CFG", 4), 10)
STRING001 = ReadLine(PPEPath() + PPEName() + ".CFG", INT001)
STRING004 = "999"
STRING003 = ""
STRING005 = UN_Oper()
Tokenize STRING005
INT002 = TokCount()
STRING002 = GetToken()
STRING002 = GetToken()
For INT003 = 3 To INT002
STRING002 = GetToken()
STRING003 = STRING003 + STRING002 + " "
Next
STRING003 = RTrim(STRING003, " ")
If ((STRING002 == RTrim(Upper(ReadLine(PPEPath() + PPEName() + ".CFG", 5)), " ")) == "YES") Then
STRING002 = RTrim(Upper(ReadLine(PPEPath() + PPEName() + ".CFG", 6)), " ")
If (Exist(STRING002)) Then
INT001 = 1
FOpen INT001, STRING002, 0, 0
FDefIn INT001
FDGet STRING002
:LABEL001
If (Ferr(INT001)) Goto LABEL003
If (Upper(STRING002) == STRING003) Goto LABEL002
FDGet STRING005
FDGet STRING002
Goto LABEL001
:LABEL002
FDGet STRING002
STRING003 = StripAtx(STRING002)
Endif
:LABEL003
FClose INT001
Endif
STRING001 = ReplaceStr(STRING001, "%NAME%", STRING003)
STRING001 = Left(STRING001, 72)
KbdStuff Chr(13) + STRING004 + Chr(13) + STRING001 + Chr(13) + " " + Chr(13)
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 7 Goto
; 18 Let
; 5 If
; 1 FOpen
; 1 FClose
; 1 Tokenize
; 1 KbdStuff
; 1 FDefIn
; 4 FDGet
;
;
; ■ Functions used :
;
; 17 +
; 3 ==
; 1 <
; 1 <=
; 2 >=
; 3 !
; 2 &&
; 1 ||
; 3 Upper()
; 1 Left()
; 1 Ferr()
; 4 Chr()
; 3 RTrim()
; 1 StripAtx()
; 4 PPEPath()
; 4 ReadLine()
; 1 UN_Oper()
; 3 GetToken()
; 1 Exist()
; 1 S2I()
; 4 PPEName()
; 1 TokCount()
; 1 ReplaceStr()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 1 For/Next
; 0 While/EndWhile
; 2 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------