home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
SENDFIL1.ZIP
/
SENDFILE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-08-01
|
2KB
|
156 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 3.1O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
;------------------------------------------------------------------------------
FOpen 1, PPEPath() + PPEName() + ".CFG", 0, 2
If (Ferr(1)) Then
STRING001 = "Error opening file " + PPEPath() + PPEName() + ".CFG"
PrintLn STRING001
End
Endif
FDefIn 1
FDGet STRING006
Inc INTEGER001
FDGet STRING007
Inc INTEGER001
FDGet STRING008
Inc INTEGER001
FDGet STRING009
Inc INTEGER001
FDGet STRING010
Inc INTEGER001
If (Len(Trim(STRING006, " ")) == 0) Goto LABEL001
PrintLn STRING006
:LABEL001
If (Len(Trim(STRING007, " ")) == 0) Goto LABEL002
PrintLn STRING007
:LABEL002
If (Len(Trim(STRING008, " ")) == 0) Goto LABEL003
PrintLn STRING008
:LABEL003
If (Len(Trim(STRING009, " ")) == 0) Goto LABEL004
PrintLn STRING009
:LABEL004
If (Len(Trim(STRING010, " ")) == 0) Goto LABEL005
PrintLn STRING010
:LABEL005
If (Ferr(1)) Goto LABEL007
FDGet STRING001
Inc INTEGER001
FDGet STRING002
Inc INTEGER001
FDGet STRING003
Inc INTEGER001
FDGet STRING004
Inc INTEGER001
FDGet STRING005
If (Len(Trim(STRING001, " ")) == 0) Goto LABEL006
STRING011 = YesChar()
PrintLn "@X1C" + STRING001
PrintLn "@X1C" + STRING003
PrintLn "@X1C" + STRING004
PrintLn "@X1C" + STRING005
Newline
InputStr "Flag " + STRING001 + " for downloading (Y/N): ", STRING011, 31, 1, "YyNn", 16384 + 8192
Newline
If (Len(Trim(STRING011, " ")) == 0) Then
End
Endif
If (Upper(STRING011) == "Y") Then
Flag STRING002 + STRING001
PrintLn "@X1F*****" + STRING001 + " flagged for later downloading."
Newline
Endif
:LABEL006
Inc INTEGER001
Goto LABEL005
:LABEL007
FClose 1
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 11 Goto
; 2 Let
; 11 PrintLn
; 10 If
; 1 FOpen
; 1 FClose
; 1 InputStr
; 10 Inc
; 3 Newline
; 1 FDefIn
; 10 FDGet
; 1 Flag
;
;
; ■ Functions used :
;
; 15 +
; 8 ==
; 10 !
; 7 Len(
; 1 Upper()
; 2 Ferr()
; 7 Trim()
; 1 YesChar()
; 2 PPEPath()
; 2 PPEName()
;
;------------------------------------------------------------------------------
;
; Analysis flags : f
;
; f - Flag files for download ■ 3
; This may be normal if a PPE needs to send some files, but since
; this statement allows flagging of any file on the hard disk, you
; have to be carefull. Check!
; ■ Search for : FLAG
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 3 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------