home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
DMSPPE1A.ZIP
/
MENUS.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-11-14
|
1KB
|
119 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
;------------------------------------------------------------------------------
String STRING001
String STRING002
Int INT001
Int INT002
;------------------------------------------------------------------------------
INT001 = CurColor()
INT002 = 0
STRING001 = ""
STRING002 = ""
PrintLn "(@X0C@MINLEFT@@X0E min. left) @X0C[ @INCONF@]@X0E"
Print " @X0A@OPTEXT@ Menu Command @X03(? = Help) @X0A-> "
Color 3
INT002 = 0
:LABEL001
If (INT002 == 13) Goto LABEL002
STRING001 = ""
While (STRING001 == "") Do
STRING001 = Inkey()
EndWhile
INT002 = Asc(STRING001)
If (Len(STRING001) > 1) Then
INT002 = 0
ElseIf (INT002 == 9) Then
INT002 = 0
ElseIf ((INT002 == 13) && (Len(STRING002) == 0)) Then
INT002 = 0
ElseIf ((INT002 == 8) && (Len(STRING002) == 0)) Then
INT002 = 0
ElseIf ((INT002 == 32) && (Len(STRING002) == 0)) Then
INT002 = 0
ElseIf (INT002 == 8) Then
Backup 1
Print Space(1)
Backup 1
STRING002 = Left(STRING002, Len(STRING002) - 1)
INT002 = 0
Else
Print STRING001
STRING002 = STRING002 + STRING001
Endif
Goto LABEL001
:LABEL002
Color INT001
Backup GetX() - 1
ClrEol
KbdStuff STRING002
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 1 ClrEol
; 2 Color
; 16 Goto
; 16 Let
; 3 Print
; 1 PrintLn
; 8 If
; 1 KbdStuff
; 3 Backup
;
;
; ■ Functions used :
;
; 1 +
; 2 -
; 10 ==
; 1 >
; 8 !
; 3 &&
; 5 Len(
; 1 Left()
; 1 Space()
; 1 Asc()
; 1 Inkey()
; 1 GetX()
; 1 CurColor()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 1 While/EndWhile
; 6 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------