home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
SAC-QBUL.ZIP
/
CQBULLS.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-09-27
|
3KB
|
187 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.O1 (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
String STRING001
String TSTRING002(9)
String TSTRING003(9)
;------------------------------------------------------------------------------
INTEGER004 = 0
INTEGER002 = 0
PrintLn "@CLS@@POFF@"
StartDisp 1
AnsiPos 1, 1
DispFile PPEPath() + "CSB.DAT", 0
PrintLn
FOpen 1, PPEPath() + "CSB.CFG", 0, 0
FGet 1, INTEGER003
INTEGER004 = 0
:LABEL001
If (Ferr(1)) Goto LABEL002
Inc INTEGER004
FGet 1, TSTRING002(INTEGER004)
Goto LABEL001
:LABEL002
FClose 1
FOpen 2, PPEPath() + "BULLS.DAT", 2, 0
INTEGER005 = 0
BOOLEAN001 = 0
:LABEL003
If (BOOLEAN001) Goto LABEL004
Inc INTEGER005
FGet 2, TSTRING003(INTEGER005)
If (INTEGER005 == INTEGER004) BOOLEAN001 = 1
Goto LABEL003
:LABEL004
FClose 2
BOOLEAN001 = 0
AnsiPos 1, INTEGER003
PrintLn "@X08┌────────────────────────────────────────────────────────────────────────────┐"
INTEGER001 = GetY()
INTEGER005 = 0
INTEGER002 = 0
:LABEL005
If (INTEGER002 == 1) Goto LABEL006
Inc INTEGER005
If (INTEGER005 == INTEGER004) Goto LABEL006
PrintLn "@POS:1@@X08│@POS:9@@X01(@X0F", INTEGER005, "@X01)", "@POS:30@", TSTRING002(INTEGER005), "@POS:78@@X08│"
Goto LABEL005
:LABEL006
PrintLn "@X08└────────────────────────────────────────────────────────────────────────────┘"
Print "@POS:1@@X07 ·■ @X08(@X0F@X08·@X0F@X08) @X07u@X08p/@X07d@X08own @X07■ @X08(@X0FESC@X08) @X07q@X08uit @X07■ @X08(@X07ENTER@X08) @X07s@X08elect @X07■· @X08quick bulls by ROY/SAC"
INTEGER006 = 1
Dec INTEGER004
AnsiPos 3, INTEGER001
Print "@POS:5@@X04░▒▓", "@X4E", "@POS:9@(", INTEGER006, ")@POS:30@", StripAtx(TSTRING002(INTEGER006)), "@X4E", "@POS:72@@X04▓▒░@X08"
:LABEL007
If (BOOLEAN001) Goto LABEL008
STRING001 = Upper(Inkey())
Select Case (STRING001)
Case "UP"
If (INTEGER006 > 1) Then
AnsiPos 1, INTEGER001
PrintLn "@POS:1@@X08│@POS:9@@X01(@X0F", INTEGER006, "@X01)", "@POS:30@", TSTRING002(INTEGER006), "@X07@POS:78@@X08│"
Dec INTEGER006
Dec INTEGER001
AnsiPos 3, INTEGER001
Print "@POS:5@@X04░▒▓", "@X4E", "@POS:9@(", INTEGER006, ")@POS:30@", StripAtx(TSTRING002(INTEGER006)), "@X4E", "@POS:72@@X04▓▒░@X08"
Endif
Case "DOWN"
If (INTEGER006 < INTEGER004) Then
AnsiPos 1, INTEGER001
PrintLn "@POS:1@@X08│@POS:9@@X01(@X0F", INTEGER006, "@X01)", "@POS:30@", TSTRING002(INTEGER006), "@X07@POS:78@@X08│"
Inc INTEGER006
Inc INTEGER001
AnsiPos 3, INTEGER001
Print "@POS:5@@X04░▒▓", "@X4E", "@POS:9@(", INTEGER006, ")@POS:30@", StripAtx(TSTRING002(INTEGER006)), "@X4E", "@POS:72@@X04▓▒░@X08"
Endif
Case Chr(13)
Goto LABEL008
Case Chr(27)
Goto LABEL011
End Select
BOOLEAN001 = 0
Goto LABEL007
:LABEL008
Print "@X07@CLS@"
DispFile String(TSTRING003(INTEGER006)), 0
Print "@WAIT@@POFF@"
StartDisp 1
AnsiPos 1, 1
DispFile PPEPath() + "CSB.DAT", 0
AnsiPos 1, INTEGER003
PrintLn "@X08┌────────────────────────────────────────────────────────────────────────────┐"
INTEGER005 = 0
:LABEL009
Inc INTEGER005
If (INTEGER005 == INTEGER004 + 1) Goto LABEL010
PrintLn "@POS:1@@X08│@POS:9@@X01(@X0F", INTEGER005, "@X01)", "@POS:30@", TSTRING002(INTEGER005), "@POS:78@@X08│"
Goto LABEL009
:LABEL010
PrintLn "@X08└────────────────────────────────────────────────────────────────────────────┘"
Print "@POS:1@@X07 ·■ @X08(@X0F@X08·@X0F@X08) @X07u@X08p/@X07d@X08own @X07■ @X08(@X0FESC@X08) @X07q@X08uit @X07■ @X08(@X07ENTER@X08) @X07s@X08elect @X07■· @X08quick bulls by ROY/SAC"
AnsiPos 3, INTEGER001
Print "@POS:5@@X04░▒▓", "@X4E", "@POS:9@(", INTEGER006, ")@POS:30@", StripAtx(TSTRING002(INTEGER006)), "@X4E", "@POS:72@@X04▓▒░@X08"
Goto LABEL007
:LABEL011
PrintLn "@X07@CLS@"
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 24 Goto
; 14 Let
; 8 Print
; 11 PrintLn
; 13 If
; 3 DispFile
; 2 FOpen
; 2 FClose
; 3 FGet
; 2 StartDisp
; 6 Inc
; 3 Dec
; 10 AnsiPos
;
;
; ■ Functions used :
;
; 5 +
; 8 ==
; 1 <
; 1 >
; 9 !
; 1 Upper()
; 1 Ferr()
; 2 Chr()
; 4 StripAtx()
; 1 Inkey()
; 1 String()
; 4 PPEPath()
; 1 GetY()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 2 If/Then or If/Then/Else
; 1 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------