home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
vrac
/
bccm100.zip
/
CM.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-05-02
|
2KB
|
128 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 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Integer INTEGER001
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
Word WORD001
;------------------------------------------------------------------------------
STRING001 = PPEPath() + "cm.cfg"
STRING002 = ReadLine(STRING001, 1)
STRING003 = PPEPath() + "desc.lst"
STRING006 = PPEPath() + "graph\cnfn"
STRING007 = ReadLine(STRING001, 2)
FOpen 1, STRING002, 0, 0
If (Ferr(1)) Then
PrintLn "ERROR opening conference file ", STRING002
Wait
End
Endif
FRead 1, WORD001, 2
FCreate 2, STRING006, 1, 0
INTEGER001 = 1
Newline
Print "Processing conferences"
While (1) Do
FRead 1, STRING008, 14
STRING008 = LTrim(STRING008, " ")
FRead 1, BOOLEAN001, 1
FSeek 1, WORD001 - 15, 1
If (Ferr(1)) Break
STRING005 = ReplaceStr(STRING007, "%CNR%", Left("0000", 5 - Len(String(INTEGER001 - 1))) + String(INTEGER001 - 1))
STRING005 = ReplaceStr(STRING005, "%CNAME%", Left(STRING008, 14))
STRING004 = ReadLine(STRING003, INTEGER001)
If (STRING004 <> "") Then
STRING005 = ReplaceStr(STRING005, "%DESC%", Left(STRING004, 30))
Else
STRING005 = ReplaceStr(STRING005, "%DESC%", Left("None available", 30))
Endif
If (BOOLEAN001) Then
STRING005 = ReplaceStr(STRING005, "%PUB%", "Yes")
Else
STRING005 = ReplaceStr(STRING005, "%PUB%", "No ")
Endif
FPutLn 2, STRING005
Inc INTEGER001
Print "."
EndWhile
Print " Done"
Newline
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 1 Wait
; 8 Goto
; 14 Let
; 3 Print
; 1 PrintLn
; 5 If
; 1 FCreate
; 1 FOpen
; 1 FPutLn
; 1 Inc
; 2 Newline
; 1 FSeek
; 3 FRead
;
;
; ■ Functions used :
;
; 4 +
; 4 -
; 1 <>
; 4 !
; 1 Len(
; 4 Left()
; 2 Ferr()
; 1 LTrim()
; 2 String()
; 3 PPEPath()
; 3 ReadLine()
; 6 ReplaceStr()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 1 While/EndWhile
; 3 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------