home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
bbsutils
/
fpcbnm.arj
/
FPCBNM.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1993-06-25
|
3KB
|
171 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
;------------------------------------------------------------------------------
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
;------------------------------------------------------------------------------
STRING013 = " "
If ("" == "1") Goto LABEL002
If ("" == "2") Goto LABEL004
If ("" <> "") STRING001 = ""
:LABEL001
Cls
STRING001 = ""
If (Exist(PPEPath() + "NET_IN")) DispFile PPEPath() + "NET_IN", 1 + 2 + 4
InputStr "(@X0EQ@X0F)uit, Netmail Selection Command", STRING001, 15, 1, "q, Q, 1, 2", 2 + 4 + 128 + 32 + 8
If (STRING001 == "1") Goto LABEL002
If (STRING001 == "2") Goto LABEL004
If (STRING001 == "Q") Goto LABEL006
If (STRING001 == "") Goto LABEL006
Goto LABEL001
:LABEL002
Cls
If (Exist(PPEPath() + "FIDO_A")) DispFile PPEPath() + "FIDO_A", 1 + 2 + 4
Newline
DispText 199, 32768
InputText "", STRING003, 11, 60
PrintLn
DispText 200, 32768
InputText "", STRING004, 11, 60
If (Len(STRING004) < 2) Goto LABEL006
GetUser
Select Case (U_FSEP)
Case 0
STRING002 = NoChar()
Case 1
STRING002 = YesChar()
End Select
Newline
InputStr "Enter FidoNet Node Number", STRING005, 14, 20, "1234567890/:.", 8
If (U_FSEP == 0) Goto LABEL003
KbdStuff "E " + Chr(13) + STRING003 + Chr(13) + STRING004 + Chr(13) + STRING002 + Chr(13)
KbdStuff "(" + STRING005 + ")" + Chr(13)
KbdStuff "(IMM)" + Chr(13)
Goto LABEL006
:LABEL003
KbdStuff "E " + Chr(13) + STRING003 + Chr(13) + STRING004 + Chr(13)
KbdStuff "(" + STRING005 + ")" + Chr(13)
KbdStuff "(IMM)" + Chr(13)
Goto LABEL006
:LABEL004
Cls
If (Exist(PPEPath() + "INET_A")) DispFile PPEPath() + "INET_A", 1 + 2 + 4
Newline
DispText 200, 32768
InputText "", STRING004, 11, 53
If (Len(STRING004) < 2) Goto LABEL006
Newline
GetUser
Select Case (U_FSEP)
Case 0
STRING002 = NoChar()
Case 1
STRING002 = YesChar()
End Select
FOpen 1, PPEPath() + "FPCBNM.CFG", 0, 3
FGet 1, STRING008
FClose 1
InputStr "Enter the user's NAME mail is intended for:", STRING006, 32, 60, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", 2 + 4 + 256
InputStr "Enter the InterNet SITE this msg is to be sent to:", STRING009, 20, 60, "abcdefghijklmnopqrstuvwxyz.", 2 + 4 + 256
InputStr "Enter the InterNet DOMAIN this msg is to be sent to:", STRING011, 20, 60, "abcdefghijklmnopqrstuvwxyz.", 2 + 4
STRING007 = Lower(STRING006)
STRING010 = Lower(STRING009)
STRING012 = Lower(STRING011)
If (U_FSEP == 0) Goto LABEL005
KbdStuff "E " + Chr(13) + "UUCP" + Chr(13) + STRING004 + Chr(13) + STRING002 + Chr(13)
KbdStuff "(" + STRING008 + ")" + Chr(13)
KbdStuff "(IMM)" + Chr(13)
KbdStuff "To: " + STRING007 + "@" + STRING010 + "." + STRING012 + Chr(13) + STRING013 + Chr(13) + STRING013 + Chr(13)
Goto LABEL006
:LABEL005
KbdStuff "E " + Chr(13) + "UUCP" + Chr(13) + STRING004 + Chr(13)
KbdStuff "(" + STRING008 + ")" + Chr(13)
KbdStuff "(IMM)" + Chr(13)
KbdStuff "To: " + STRING007 + "@" + STRING010 + "." + STRING012 + Chr(13) + STRING013 + Chr(13) + STRING013 + Chr(13)
:LABEL006
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 3 Cls
; 21 Goto
; 10 Let
; 1 PrintLn
; 18 If
; 3 DispFile
; 1 FOpen
; 1 FClose
; 1 FGet
; 2 GetUser
; 5 InputStr
; 4 Newline
; 3 DispText
; 3 InputText
; 14 KbdStuff
;
;
; ■ Functions used :
;
; 82 +
; 12 ==
; 1 <>
; 2 <
; 4 !
; 2 Len(
; 3 Lower()
; 28 Chr()
; 2 NoChar()
; 2 YesChar()
; 7 PPEPath()
; 3 Exist()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 2 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------