home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
SF11FDS.ZIP
/
SYSFILES.PPE
(
.txt
)
< prev
Wrap
PCBoard Programming Language Executable
|
1993-09-19
|
2KB
|
167 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
;------------------------------------------------------------------------------
Boolean BOOLEAN001
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
;------------------------------------------------------------------------------
STRING008 = "@X03Enter Path & Filename: _"
STRING001 = ""
STRING002 = PPEPath() + PPEName() + ".CNF"
If (Exist(STRING002)) Then
FOpen 1, STRING002, 0, 0
FGet 1, STRING003
FGet 1, STRING004
FGet 1, STRING006
Endif
PrintLn
Print "@X03SysFiles v1.1 by FDS @X08[@X0FD@X08]@X03ownload, @X08[@X0FU@X08]@X03pload, @X08[@X0FR@X08]@X03un PPE file, @X08[@X0FQ@X08]@X03uit @X0B:"
:LABEL001
If (BOOLEAN001) Goto LABEL002
STRING009 = Inkey()
STRING009 = Upper(STRING009)
If (STRING009 == "D") Then
BOOLEAN001 = 1
Else
If (STRING009 == "U") Then
BOOLEAN001 = 1
Else
If (STRING009 == "R") Then
BOOLEAN001 = 1
Goto LABEL003
Endif
If (STRING009 == "Q") Then
BOOLEAN001 = 1
Goto LABEL004
Endif
Goto LABEL001
:LABEL002
Goto LABEL004
Endif
Newline
Newline
InputStr STRING008, STRING001, 31, 120, Mask_Ascii(), 8 + 2
PrintLn
InputStr "What is the upload password", STRING007, 3, 20, Mask_Pwd(), 8 + 2 + 128 + 256 + 1
If ((STRING001 <> "") && (STRING006 == STRING007)) Then
PrintLn
PrintLn "@X0FReady to recieve (" + STRING001 + ")"
Wait
Shell 1, STRING005, STRING004, "1 " + "2 " + STRING001
Goto LABEL004
Endif
Goto LABEL004
:LABEL003
Newline
Newline
InputStr STRING008, STRING001, 31, 120, Mask_Ascii(), 8 + 2
If (STRING001 <> "") Then
Call STRING001
Endif
Goto LABEL004
Endif
Newline
Newline
InputStr STRING008, STRING001, 31, 120, Mask_Ascii(), 8 + 2
PrintLn
InputStr "What is the download password", STRING007, 3, 20, Mask_Pwd(), 8 + 2 + 128 + 256 + 1
If (((STRING001 <> "") && Exist(STRING001)) && (STRING006 == STRING007)) Then
PrintLn
PrintLn "@X0FReady To Send (" + STRING001 + ")"
Wait
Shell 1, STRING005, STRING003, "1 " + "2 " + STRING001
Goto LABEL004
Else
Goto LABEL004
Endif
:LABEL004
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 2 Wait
; 21 Goto
; 9 Let
; 1 Print
; 7 PrintLn
; 9 If
; 1 FOpen
; 3 FGet
; 5 InputStr
; 6 Newline
; 2 Shell
; 1 Call
;
;
; ■ Functions used :
;
; 21 +
; 6 ==
; 3 <>
; 9 !
; 3 &&
; 1 Upper()
; 1 Inkey()
; 2 Mask_Pwd()
; 3 Mask_Ascii()
; 1 PPEPath()
; 2 Exist()
; 1 PPEName()
;
;------------------------------------------------------------------------------
;
; Analysis flags : SC
;
; S - Shell to DOS ■ 5
; This may be normal if the PPE need to execute an external command,
; but may be actually anything... nasty (formating HD, rebooting,...)
; or usefull (sorting, maintenance,...). Check!
; ■ Search for : SHELL
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 8 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------