home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carsten's PPE Collection
/
Carstens_PPE_Collection_2007.zip
/
T
/
TABDMC10.ZIP
/
CONNECT.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1995-03-23
|
4KB
|
263 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
Integer INTEGER008
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
;------------------------------------------------------------------------------
FOpen 1, PPEPath() + "connect.cfg", 0, 0
If (Ferr(1) == 1) Goto LABEL003
FGet 1, INTEGER002
FClose 1
STRING001 = "(C)DarK MooN - φ TaBoU φ - 1995"
STRING004 = "DMC V1.00ß - ReGisteRed VeRSioN"
INTEGER001 = 1
INTEGER003 = 1
INTEGER005 = 1
INTEGER007 = 0
INTEGER004 = 1
STRING005 = "@X08"
STRING003 = "────────────────────────────────────────────────────────────────────────────────"
Cls
AnsiPos INTEGER004, INTEGER003
INTEGER005 = 1
Gosub LABEL001
INTEGER001 = 1
INTEGER003 = 2
INTEGER005 = 3
STRING005 = "@X0F"
INTEGER004 = 26
AnsiPos INTEGER004, INTEGER003
Gosub LABEL001
INTEGER001 = 1
INTEGER003 = 3
INTEGER005 = 2
STRING005 = "@X0B"
INTEGER004 = 26
AnsiPos INTEGER004, INTEGER003
Gosub LABEL001
AnsiPos INTEGER004, INTEGER003
INTEGER001 = 1
INTEGER003 = 4
INTEGER005 = 1
INTEGER004 = 1
STRING005 = "@X08"
Gosub LABEL001
Goto LABEL002
:LABEL001
If (INTEGER001 == 1) STRING002 = "@X0F"
If (INTEGER001 == 2) STRING002 = "@X0B"
If (INTEGER001 == 3) STRING002 = "@X07"
If (INTEGER001 == 4) STRING002 = "@X03"
If (INTEGER001 == 5) STRING002 = "@X09"
If (INTEGER001 == 6) STRING002 = "@X08"
If (INTEGER001 == 7) STRING002 = "@X00"
If (INTEGER001 == 8) STRING002 = "@X08"
If (INTEGER001 == 9) STRING002 = "@X09"
If (INTEGER001 == 10) STRING002 = "@X03"
If (INTEGER001 == 11) STRING002 = "@X07"
If (INTEGER001 == 12) STRING002 = "@X0B"
If (INTEGER001 == 13) STRING002 = "@X0F"
If (INTEGER001 == 14) STRING002 = STRING005
AnsiPos INTEGER004, INTEGER003
If (INTEGER005 == 1) Print STRING002 + STRING003
If (INTEGER005 == 2) Print STRING002 + STRING001
If (INTEGER005 == 3) Print STRING002 + STRING004
If (INTEGER005 == 4) Print STRING002 + STRING006
INTEGER001 = INTEGER001 + 1
If (INTEGER001 == 15) Return
Delay INTEGER002
Goto LABEL001
:LABEL002
INTEGER002 = 0
AnsiPos 25, 6
STRING006 = "@X07Setting Up The Connection"
Print STRING006
INTEGER004 = GetX()
INTEGER003 = 6
INTEGER005 = 4
INTEGER001 = 1
STRING005 = "@X09"
AnsiPos INTEGER004, INTEGER003
STRING006 = "."
For INTEGER007 = 0 To 3
Gosub LABEL001
INTEGER001 = 1
INTEGER004 = GetX()
Next
AnsiPos 25, 6
Print " "
AnsiPos 25, 6
Print "@X07Board name "
INTEGER004 = GetX()
INTEGER001 = 1
INTEGER003 = 6
STRING005 = "@X0B"
STRING006 = "@BOARDNAME@"
AnsiPos INTEGER004, INTEGER003
Gosub LABEL001
AnsiPos 25, 7
Print "@X07Connect Speed "
INTEGER004 = GetX()
INTEGER003 = 7
INTEGER005 = 4
INTEGER001 = 1
STRING005 = "@X0F"
AnsiPos INTEGER004, INTEGER003
INTEGER006 = Carrier()
STRING006 = I2S(INTEGER006, 10)
Gosub LABEL001
AnsiPos 25, 8
Print "@X07Color Mode "
INTEGER004 = GetX()
INTEGER001 = 1
INTEGER003 = 8
STRING005 = "@X09"
STRING007 = GrafMode()
If (STRING007 == "R") STRING006 = " Ripscript Supported"
If (STRING007 == "A") STRING006 = " Ansi/bbs No color"
If (STRING007 == "G") STRING006 = " Ansi/bbs Color"
If (STRING007 == "N") STRING006 = " No graphics supported"
AnsiPos INTEGER004, INTEGER003
Gosub LABEL001
AnsiPos 25, 9
Print "@X07BBS call number "
INTEGER004 = GetX()
INTEGER001 = 1
INTEGER003 = 9
STRING005 = "@X0F"
INTEGER008 = CallNum()
STRING006 = I2S(INTEGER008, 10)
AnsiPos INTEGER004, INTEGER003
Gosub LABEL001
AnsiPos 25, 10
Print "@X07Call on node "
INTEGER004 = GetX()
INTEGER001 = 1
INTEGER003 = 10
STRING005 = "@X0B"
INTEGER008 = PcbNode()
STRING006 = I2S(INTEGER008, 10)
AnsiPos INTEGER004, INTEGER003
Gosub LABEL001
AnsiPos 25, 11
Print "@X07System Date "
INTEGER004 = GetX()
INTEGER001 = 1
INTEGER003 = 11
STRING005 = "@X09"
STRING006 = "@SYSDATE@"
AnsiPos INTEGER004, INTEGER003
Gosub LABEL001
AnsiPos 25, 12
Print "@X07System Time "
INTEGER004 = GetX()
INTEGER001 = 1
INTEGER003 = 12
STRING005 = "@X0F"
STRING006 = "@SYSTIME@"
AnsiPos INTEGER004, INTEGER003
Gosub LABEL001
Goto LABEL004
:LABEL003
FClose 1
PrintLn "@X09Sorry, config file missing !!! Please read the Doc !!"
Goto LABEL005
:LABEL004
INTEGER001 = 1
INTEGER003 = 15
INTEGER005 = 1
INTEGER004 = 1
STRING005 = "@X08"
Gosub LABEL001
PrintLn ""
:LABEL005
Wait
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 Cls
; 1 Wait
; 7 Goto
; 100 Let
; 13 Print
; 2 PrintLn
; 25 If
; 1 FOpen
; 2 FClose
; 1 FGet
; 13 Gosub
; 1 Return
; 1 Delay
; 22 AnsiPos
;
;
; ■ Functions used :
;
; 7 +
; 24 ==
; 1 <
; 1 <=
; 2 >=
; 1 !
; 2 &&
; 1 ||
; 1 Ferr()
; 1 PPEPath()
; 1 PcbNode()
; 3 I2S()
; 1 Carrier()
; 9 GetX()
; 1 GrafMode()
; 1 CallNum()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 1 For/Next
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------