home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
F
/
FLYDIR.ZIP
/
FLYDIR.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-01-09
|
2KB
|
138 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.O1 (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
Int INT001
;------------------------------------------------------------------------------
INTEGER004 = GetToken()
If (INTEGER004 == "") Then
PrintLn "Please inform your System Operator there is a configuration error."
PrintLn "File Directories are not available at this time."
End
Endif
STRING004 = ReadLine(PCBDat(), 31) + ".@@@"
FOpen 1, STRING004, 0, 0
FRead 1, INT001, 2
FSeek 1, INT001 * CurConf() + 484, 0
FRead 1, STRING001, 33
FClose 1
FOpen 1, STRING001, 0, 0
FSeek 1, (INTEGER004 - 1) * 96, 0
FRead 1, STRING002, 30
FRead 1, STRING003, 30
FRead 1, STRING006, 35
FRead 1, INTEGER001, 1
STRING003 = Strip(STRING003, " ")
PrintLn " File Category: ", STRING006
PrintLn ""
STRING005 = FindFirst(STRING003 + "*.*")
INTEGER003 = 1
STRING007 = "@X0E" + Left(STRING005, 12) + "@X0A" + Right(String(FileInf(STRING003 + STRING005, 4)), 9) + Space(2) + "@X0B" + String(FileInf(STRING003 + STRING005, 2))
INTEGER002 = FileInf(STRING003 + STRING005, 4)
PrintLn STRING007
While (STRING005 <> "") Do
STRING005 = FindNext()
STRING007 = "@X0E" + Left(STRING005, 12) + "@X0A" + Right(String(FileInf(STRING003 + STRING005, 4)), 9) + Space(2) + "@X0B" + String(FileInf(STRING003 + STRING005, 2))
If (STRING005 <> "") PrintLn STRING007
Inc INTEGER003
INTEGER002 = INTEGER002 + FileInf(STRING003 + STRING005, 4)
EndWhile
PrintLn ""
PrintLn " Total files: ", String(INTEGER003), " Total files size: ", String(INTEGER002)
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 3 Goto
; 10 Let
; 8 PrintLn
; 3 If
; 2 FOpen
; 1 FClose
; 1 Inc
; 2 FSeek
; 6 FRead
;
;
; ■ Functions used :
;
; 2 *
; 22 +
; 1 -
; 1 ==
; 2 <>
; 2 !
; 2 Left()
; 2 Right()
; 2 Space()
; 1 Strip()
; 6 String()
; 1 CurConf()
; 1 PCBDat()
; 1 ReadLine()
; 1 GetToken()
; 6 FileInf()
; 1 FindFirst()
; 1 FindNext()
;
;------------------------------------------------------------------------------
;
; Analysis flags : di
;
; d - Access PCBOARD.DAT ■ 2
; Program gets the full pathname to PCBOARD.DAT, this may be usefull
; for many PPE so they can find various informations on the system
; (system paths, max number of lines in messages, ...) but it may also
; be a way to gather vital informations.
; ■ Search for : PCBDAT()
;
; i - Sequencially read files in directory ■ 3
; Program is reading files in directory sequencially, maybe to get
; a DIR image, but this can be to look for targets to destroy
; ■ Search for : FINDFIRST(), FINDNEXT()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 1 While/EndWhile
; 1 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------