home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bila Vrana
/
BILA_VRANA.iso
/
019A
/
PCBDEMO.ZIP
/
PCBDISK1.EXE
/
RIP
/
PPE
/
SPECMSG.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1993-01-01
|
2KB
|
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 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
String STRING001
String STRING002
String STRING003
;------------------------------------------------------------------------------
STRING003 = CurConf()
INTEGER001 = LoMsgNum()
INTEGER002 = INTEGER001
DispFile PPEPath() + "SPECMSG.RIP", 0
STRING002 = Chr(27) + "[9D"
PrintLn "!|10$COFF$|#|#|#"
Gosub LABEL002
:LABEL001
While (STRING001 <> "Z") Do
STRING001 = Upper(Inkey())
If (STRING001 == " ") Goto LABEL003
If (STRING001 == "A") INTEGER001 = INTEGER001 + 10000
If (STRING001 == "B") INTEGER001 = INTEGER001 + 1000
If (STRING001 == "C") INTEGER001 = INTEGER001 + 100
If (STRING001 == "D") INTEGER001 = INTEGER001 + 10
If (STRING001 == "E") INTEGER001 = INTEGER001 + 1
If (STRING001 == "M") INTEGER001 = INTEGER001 - 10000
If (STRING001 == "N") INTEGER001 = INTEGER001 - 1000
If (STRING001 == "O") INTEGER001 = INTEGER001 - 100
If (STRING001 == "P") INTEGER001 = INTEGER001 - 10
If (STRING001 == "Q") INTEGER001 = INTEGER001 - 1
If (INTEGER001 > 999999999) INTEGER001 = 999999999
If (INTEGER001 < 0) INTEGER001 = 0
If (STRING001 == "W") INTEGER001 = LoMsgNum()
If (STRING001 == "X") INTEGER001 = HiMsgNum()
If (STRING001 == "Y") INTEGER001 = INTEGER002
Gosub LABEL002
Delay 3
EndWhile
KbdStuff INTEGER001
PrintLn
PrintLn "!|*|10$CON$|#|#|#"
End
:LABEL002
Print "@X70" + Right(INTEGER001, 9) + STRING002
Return
:LABEL003
DefColor
Print " "
Backup 9
InputStr "_", INTEGER001, 7, 9, "0123456789", 0
Backup 9
Goto LABEL001
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 4 Goto
; 20 Let
; 2 Print
; 3 PrintLn
; 17 If
; 1 DispFile
; 1 DefColor
; 1 InputStr
; 2 Gosub
; 1 Return
; 1 Delay
; 1 KbdStuff
; 2 Backup
;
;
; ■ Functions used :
;
; 9 +
; 5 -
; 14 ==
; 1 <>
; 1 <
; 1 >
; 1 !
; 1 Upper()
; 1 Right()
; 1 Chr()
; 1 Inkey()
; 1 CurConf()
; 1 PPEPath()
; 2 LoMsgNum()
; 1 HiMsgNum()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 1 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------