home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
J_CONFX.ZIP
/
J_CONF2.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-01-04
|
3KB
|
206 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
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String TSTRING008(3)
;------------------------------------------------------------------------------
TSTRING008(0) = "-"
TSTRING008(1) = "\"
TSTRING008(2) = "|"
TSTRING008(3) = "/"
If (TokCount() > 0) Then
STRING003 = "J;" + STRING003
KbdStuff STRING003
End
Endif
INTEGER001 = ReadLine(PCBDat(), 108)
STRING001 = ReadLine(PCBDat(), 31)
If (CurColor() < 10) Then
STRING002 = "0F"
Else
STRING002 = I2S(CurColor(), 16)
INTEGER004 = S2I(Left(STRING002, 1), 16)
If (7 < INTEGER004) INTEGER004 = INTEGER004 - 8
If (INTEGER004 == 1) Then
STRING002 = I2S(INTEGER004, 16) + "F"
Else
STRING002 = I2S(INTEGER004, 16) + "8"
Endif
Endif
INTEGER002 = S2I(STRING002, 16)
GetUser
INTEGER003 = U_RecNum(U_Name())
INTEGER005 = 1
For INTEGER004 = 0 To INTEGER001
If (INTEGER005 == 1) Then
Color INTEGER002
Cls
PrintLn " @INCONF@"
PrintLn " ### Conference Name/Descripton Access"
PrintLn " --- ------------------------------------------------------------ -------"
Endif
Gosub LABEL003
STRING003 = ReadLine(STRING001, 33 * INTEGER004 + 1)
If (Len(Trim(STRING003, " ")) > 0) Then
STRING004 = ReadLine(STRING001, 33 * INTEGER004 + 20)
STRING005 = ReadLine(STRING001, 33 * INTEGER004 + 23)
If (U_InConf(INTEGER003, INTEGER004) || ((U_Sec >= S2I(STRING005, 10)) && (STRING004 == "-1"))) Then
INTEGER005 = INTEGER005 + 1
If (STRING004 == "-1") STRING004 = "Public"
If (STRING004 == "0") STRING004 = "Private"
STRING006 = Right(" " + I2S(INTEGER004, 10), 3)
Backup 3
Color INTEGER002
If (STRING004 == "Private") Then
PrintLn " ", STRING006, " ", Mid(STRING003 + Space(62), 1, 62), STRING004
Goto LABEL001
Endif
PrintLn " ", STRING006, " ", Mid(STRING003 + Space(62), 1, 62), STRING005
:LABEL001
If (INTEGER005 == 4) PrintLn
If (INTEGER005 == 8) PrintLn
Endif
Endif
If ((INTEGER005 == 13) || (INTEGER004 == INTEGER001)) Then
Backup 3
Color INTEGER002
If ((INTEGER005 == 13) && (INTEGER004 <> INTEGER001)) Then
PrintLn " "
InputStr "(@TIMELEFT@ min left), Conference (#) to join or Enter for More", STRING007, 14, 5, "1234567890N", 8 + 32
Goto LABEL002
Endif
If (INTEGER004 == INTEGER001) Then
PrintLn " "
InputStr "(@TIMELEFT@ min left), Conference (#) to join or Enter for none", STRING007, 14, 5, "1234567890N", 8 + 32
Endif
:LABEL002
If (Len(Trim(STRING007, " ")) > 0) Then
If (STRING007 == "N") Break
STRING007 = "J;" + STRING007
KbdStuff STRING007
Break
Endif
INTEGER005 = 1
Endif
Next
DefColor
Cls
End
:LABEL003
Backup 2
Color INTEGER002
Print TSTRING008(INTEGER006 % 4), " "
Inc INTEGER006
INTEGER007 = 1
Inc INTEGER007
Return
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 2 Cls
; 4 Color
; 19 Goto
; 28 Let
; 1 Print
; 9 PrintLn
; 18 If
; 1 GetUser
; 1 DefColor
; 2 InputStr
; 1 Gosub
; 1 Return
; 2 Inc
; 2 KbdStuff
; 3 Backup
;
;
; ■ Functions used :
;
; 3 *
; 1 %
; 14 +
; 1 -
; 13 ==
; 1 <>
; 3 <
; 1 <=
; 3 >
; 3 >=
; 12 !
; 4 &&
; 3 ||
; 2 Len(
; 2 Mid()
; 1 Left()
; 1 Right()
; 2 Space()
; 2 Trim()
; 1 U_Name()
; 2 PCBDat()
; 5 ReadLine()
; 4 I2S()
; 3 S2I()
; 2 CurColor()
; 1 TokCount()
; 1 U_RecNum()
; 1 U_InConf()
;
;------------------------------------------------------------------------------
;
; Analysis flags : d
;
; 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()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 1 For/Next
; 0 While/EndWhile
; 11 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------