home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
S
/
SCUMPC10.ZIP
/
PREVIOUS.PPE
(
.txt
)
< prev
Wrap
PCBoard Programming Language Executable
|
1994-08-09
|
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 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
String TSTRING001(25)
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
;------------------------------------------------------------------------------
INTEGER002 = ReadLine(PPEPath() + "PREVIOUS.CNF", 1)
STRING003 = ReadLine(PPEPath() + "PREVIOUS.CNF", 2)
STRING011 = ReadLine(PPEPath() + "PREVIOUS.CNF", 3)
If (Exist(PPEPath() + "PREVIOUS.DAT")) Goto LABEL001
FCreate 2, PPEPath() + "PREVIOUS.DAT", 1, 0
STRING005 = " " + STRING011 + " 1 John Doe Hereville 00:00:00 1 115200" + STRING011 + ""
For INTEGER001 = 1 To INTEGER002
FPutLn 2, STRING005
Next
FClose 2
:LABEL001
If (Upper(STRING003) == "NAME") Then
STRING002 = U_Name()
Else
STRING002 = U_Alias
Goto LABEL002
If (Len(STRING002) > 15) Then
STRING002 = Left(STRING002, 15)
Endif
Endif
:LABEL002
GetUser
STRING010 = Carrier()
STRING007 = PcbNode()
STRING008 = U_Logons()
STRING004 = U_City
STRING009 = U_LTime()
INTEGER003 = 5 - Len(STRING008)
INTEGER004 = 18 - Len(STRING002)
INTEGER005 = 25 - Len(STRING004)
INTEGER006 = 11 - Len(STRING010)
FOpen 3, PPEPath() + "PREVIOUS.DAT", 0, 0
INTEGER001 = 1
For INTEGER001 = 1 To INTEGER002
FGet 3, TSTRING001(INTEGER001)
Next
FClose 3
FCreate 4, PPEPath() + "PREVIOUS.DAT", 1, 0
For INTEGER001 = 2 To INTEGER002
FPutLn 4, TSTRING001(INTEGER001)
Next
STRING006 = STRING011 + Space(INTEGER003) + STRING008 + " " + STRING002 + Space(INTEGER004) + STRING004 + Space(INTEGER005) + STRING009 + " " + STRING007 + Space(INTEGER006) + STRING010
FPutLn 4, STRING006
FClose 4
Cls
StartDisp 1
DispFile PPEPath() + "BORDER1.TOP", 1
DispFile PPEPath() + "PREVIOUS.DAT", 1
DispFile PPEPath() + "BORDER1.BOT", 1
AnsiPos 29, 21
Wait
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 1 Cls
; 1 Wait
; 11 Goto
; 24 Let
; 6 If
; 3 DispFile
; 2 FCreate
; 1 FOpen
; 3 FClose
; 1 FGet
; 3 FPutLn
; 1 StartDisp
; 1 GetUser
; 1 AnsiPos
;
;
; ■ Functions used :
;
; 29 +
; 4 -
; 1 ==
; 3 <
; 3 <=
; 1 >
; 6 >=
; 5 !
; 6 &&
; 3 ||
; 5 Len(
; 1 Upper()
; 1 Left()
; 4 Space()
; 1 U_Name()
; 1 U_LTime()
; 1 U_Logons()
; 10 PPEPath()
; 1 PcbNode()
; 3 ReadLine()
; 1 Exist()
; 1 Carrier()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 3 For/Next
; 0 While/EndWhile
; 2 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------