home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
F
/
FONLR100.ZIP
/
ONLROFF.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-03-11
|
2KB
|
137 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
Integer INTEGER002
Integer INTEGER003
String TSTRING001(6)
String TSTRING002(10)
String STRING003
String STRING004
;------------------------------------------------------------------------------
TSTRING001(1) = PPEPath() + "ONLR.CFG"
TSTRING001(2) = PPEPath() + "ONLR06.PCB"
TSTRING001(3) = PPEPath() + "ONLR08.PCB"
TSTRING001(4) = PPEPath() + "ONLR09.PCB"
TSTRING001(5) = PPEPath() + "ONLR10.PCB"
TSTRING001(6) = PPEPath() + "ONLR03.DAT"
STRING004 = "1.00"
FOpen 1, TSTRING001(1), 0, 0
FGet 1, INTEGER001
FClose 1
GetUser
If (U_Sec < INTEGER001) Then
Goto LABEL003
Endif
If (U_TimeOn() < 5) Goto LABEL003
PrintLn
DispFile TSTRING001(3), 1
STRING003 = "N"
InputStr "", STRING003, 15, 1, "ynYN", 2 + 8192 + 256
If (Upper(STRING003) <> YesChar()) Then
Goto LABEL003
Endif
PrintLn
DispFile TSTRING001(4), 1
DispFile TSTRING001(2), 1
PrintLn
Log "- User left a message to the next caller!", 0
INTEGER002 = 0
:LABEL001
If (BOOLEAN001) Goto LABEL002
INTEGER002 = INTEGER002 + 1
InputStr "_", TSTRING002(INTEGER002), 15, 78, Mask_Ascii(), 512 + 256
If ((INTEGER003 == 10) || (TSTRING002(INTEGER002) == "")) Then
BOOLEAN001 = 1
Delete TSTRING001(6)
INTEGER002 = INTEGER002 - 1
FOpen 1, TSTRING001(6), 2, 0
FPutLn 1, INTEGER002
For INTEGER003 = 1 To INTEGER002
FPutLn 1, TSTRING002(INTEGER003)
Next
FClose 1
Endif
Goto LABEL001
:LABEL002
For INTEGER003 = 1 To INTEGER002
Log "> " + TSTRING002(INTEGER002 - INTEGER003 + 1), 1
Next
:LABEL003
PrintLn
DispFile TSTRING001(5), 1
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 12 Goto
; 16 Let
; 4 PrintLn
; 7 If
; 4 DispFile
; 2 FOpen
; 2 FClose
; 1 FGet
; 2 FPutLn
; 1 GetUser
; 1 Delete
; 2 Log
; 2 InputStr
;
;
; ■ Functions used :
;
; 14 +
; 2 -
; 2 ==
; 1 <>
; 4 <
; 2 <=
; 4 >=
; 6 !
; 4 &&
; 3 ||
; 1 Upper()
; 1 U_TimeOn()
; 1 YesChar()
; 1 Mask_Ascii()
; 6 PPEPath()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 2 For/Next
; 0 While/EndWhile
; 3 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------