home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
SPEAK11.ZIP
/
SPEAK.PPE
(
.txt
)
< prev
Wrap
PCBoard Programming Language Executable
|
1993-12-09
|
3KB
|
168 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 1.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
;------------------------------------------------------------------------------
Gosub LABEL005
Newline
PrintLn "@CLS@"
PrintLn STRING008 + "╒════════════════════════════════════════════════════════════════════════════╕"
PrintLn STRING008 + "│" + STRING003 + " You are preparing to Broadcast a message to another Node or Node." + STRING008 + " │"
PrintLn STRING008 + "│" + STRING003 + " Please make sure the content of your message will not offend other" + STRING008 + " │"
PrintLn STRING008 + "│" + STRING003 + " users. All Broadcasts are subject to monitoring. -SysOp." + STRING008 + " │"
PrintLn STRING008 + "╘════════════════════════════════SPEAK v1.1══════════════════════════════════╛"
:LABEL001
PrintLn " "
STRING002 = "Y"
InputStr STRING003 + "Would you like to broadcast a message to another Node", STRING002, STRING003, 1, "YN", 2 + 8
If (STRING002 == "N") Then
Goto LABEL006
Endif
:LABEL002
Newline
PrintLn " "
PrintLn STRING004 + "Enter the message you would like to broadcast in 60 Characters or less."
PrintLn " "
Input STRING005 + "What", STRING001
If (STRING001 == "") Then
Newline
PrintLn STRING004 + "You have failed to enter anything!"
Goto LABEL001
Endif
PrintLn " "
PrintLn STRING004 + "Please review the information you entered to ensure it is correct!"
PrintLn " "
PrintLn STRING005 + "'" + STRING001 + "'"
PrintLn " "
InputStr STRING004 + "Is This Statement Right", STRING002, STRING003, 1, "YN", 2 + 8
If (STRING002 == "N") Then
Goto LABEL002
Endif
:LABEL003
Newline
PrintLn " "
:LABEL004
InputStr STRING007 + "Enter the Node you want to target", INTEGER001, STRING007, 5, "1234567890", 2 + 8
If (INTEGER001 == 0) Then
Newline
PrintLn ""
PrintLn STRING004 + "There is no Node 0."
Goto LABEL004
Endif
If (INTEGER001 > INTEGER002) Then
Newline
PrintLn ""
PrintLn STRING004 + "ERROR : Target Node not available on this BBS!"
Goto LABEL004
Endif
Newline
PrintLn ""
PrintLn STRING007 + "You entered " + String(INTEGER001) + " as the destination."
PrintLn ""
InputStr STRING007 + "Is this node right", STRING002, STRING003, 1, "YN", 2 + 8
If (STRING002 == "N") Then
Goto LABEL003
Endif
RdUNet INTEGER001
Broadcast INTEGER001, INTEGER001, "Shout from Node " + String(PcbNode()) + ": " + STRING001
Newline
PrintLn " "
PrintLn STRING008 + "Message Sent. Returning to Main."
Goto LABEL006
:LABEL005
FOpen 1, PPEPath() + "SPEAK.CNF", 0, 0
If (Ferr(1)) Then
SPrintLn "ERROR : Error in CNF. Refer to DOCS or Call SOLITUDE 714-834-0711!"
End
Else
FGet 1, INTEGER002
FGet 1, STRING003
FGet 1, STRING004
FGet 1, STRING005
FGet 1, STRING006
FGet 1, STRING007
FGet 1, STRING008
FClose 1
Return
Endif
:LABEL006
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 15 Goto
; 1 Let
; 26 PrintLn
; 7 If
; 1 Input
; 1 FOpen
; 1 FClose
; 7 FGet
; 4 InputStr
; 1 Gosub
; 1 Return
; 8 Newline
; 1 Broadcast
; 1 RdUNet
; 1 SPrintLn
;
;
; ■ Functions used :
;
; 42 +
; 5 ==
; 1 >
; 7 !
; 1 Ferr()
; 2 String()
; 1 PPEPath()
; 1 PcbNode()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 7 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------