home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Equalizer BBS
/
equalizer-bbs-collection_2004.zip
/
equalizer-bbs-collection
/
BBS-PCBOARD-STUFF
/
VEN-MMG.ZIP
/
MMSG.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1993-10-07
|
3KB
|
161 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 TSTRING001(4)
String STRING002
String STRING003
String STRING004
;------------------------------------------------------------------------------
:LABEL001
Cls
If (Exist(PPEPath() + "mmsg.pcb")) DispFile PPEPath() + "mmsg.pcb", 1
INTEGER001 = 1
INTEGER003 = 9
KbdFlush
AnsiPos 1, INTEGER003
PrintLn " @X04┌───────────────┐"
PrintLn " │ │"
PrintLn " │ │"
PrintLn " │ │"
PrintLn " ├───────────────┤"
PrintLn " │@X08M@X07m@X0Fsg @X0CBy @X0F@X08O@X07X@X0Fi@X07D@X08E@X04│"
PrintLn " └───────────────┘"
TSTRING001(1) = "Private Message"
TSTRING001(2) = "Public Message"
TSTRING001(3) = " Quit "
:LABEL002
For INTEGER002 = 1 To 3
AnsiPos 33, INTEGER002 + INTEGER003
If (INTEGER002 == INTEGER001) Then
Print "@X47"
Else
Print "@X07"
Endif
Print TSTRING001(INTEGER002)
Next
AnsiPos 23, 2 + INTEGER003
:LABEL003
STRING002 = Inkey()
AnsiPos 33, INTEGER003 + INTEGER001
If (STRING002 == "") Goto LABEL003
If (STRING002 == "DOWN") INTEGER001 = INTEGER001 + 1
If (STRING002 == "2") INTEGER001 = INTEGER001 + 1
If (Upper(STRING002) == "UP") INTEGER001 = INTEGER001 - 1
If (Upper(STRING002) == "8") INTEGER001 = INTEGER001 - 1
If (STRING002 == Chr(13)) Goto LABEL004
If (INTEGER001 < 1) INTEGER001 = 3
If (INTEGER001 > 3) INTEGER001 = 1
Goto LABEL002
:LABEL004
Cls
Select Case (INTEGER001)
Case 3
Color 0
Cls
End
Case 2
Goto LABEL005
End Select
AnsiPos 1, 1
Print "@X04Private Message For @X08:@X07"
AnsiPos 22, 1
InputText "", STRING003, 0, 25
If (STRING003 == "") Then
Goto LABEL001
Endif
AnsiPos 1, 2
Print "@X04 Subject @X08:@X07"
AnsiPos 22, 2
InputText "", STRING004, 0, 25
If (STRING004 == "") Then
Goto LABEL001
Endif
KbdStuff "E" + Chr(13) + Upper(STRING003) + Chr(13) + Upper(STRING004) + Chr(13) + "R" + Chr(13) + Chr(13)
End
:LABEL005
AnsiPos 1, 1
Print "@X04Subject @X08:@X07"
AnsiPos 10, 1
InputText "", STRING004, 0, 25
If (STRING004 == "") Then
Goto LABEL001
Endif
KbdStuff "E" + Chr(13) + "ALL" + Chr(13) + Upper(STRING004) + Chr(13) + Chr(13)
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 3 Cls
; 1 Color
; 17 Goto
; 14 Let
; 6 Print
; 7 PrintLn
; 16 If
; 1 DispFile
; 3 InputText
; 2 KbdStuff
; 10 AnsiPos
; 1 KbdFlush
;
;
; ■ Functions used :
;
; 22 +
; 2 -
; 12 ==
; 2 <
; 1 <=
; 1 >
; 2 >=
; 7 !
; 2 &&
; 1 ||
; 5 Upper()
; 10 Chr()
; 1 Inkey()
; 2 PPEPath()
; 1 Exist()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 1 For/Next
; 0 While/EndWhile
; 4 If/Then or If/Then/Else
; 1 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------