home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
JOIN100.ZIP
/
JOIN.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1993-01-14
|
3KB
|
203 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 TSTRING004(40,2)
String STRING005
String STRING006
String STRING007
String STRING008
Word WORD001
Word WORD002
Word WORD003
Word WORD004
Word WORD005
Word WORD006
Word WORD007
Word WORD008
;------------------------------------------------------------------------------
Newline
If (Exist(PPEPath() + "CNFM")) DispFile PPEPath() + "CNFM", 4 + 2 + 1
InputStr "Display which Network ", STRING001, 14, 2, Mask_Num(), 2 + 4
If (STRING001 <> "") Goto LABEL001
Newlines 1
End
:LABEL001
Newline
BOOLEAN001 = 1
WORD007 = 1
STRING007 = " "
If (Exist(PPEPath() + "NET_" + STRING001)) Then
FOpen 0, PPEPath() + "NET_" + STRING001, 0, 0
FGet 0, STRING002
INTEGER001 = 79 - Len(STRING002)
STRING002 = "@X71" + Left(STRING007, INTEGER001 / 2) + STRING002 + Left(STRING007, INTEGER001 / 2 + INTEGER001 % 2) + "@X0F"
FGet 0, STRING003
WORD001 = ToWord(STRING003)
FGet 0, STRING003
WORD002 = ToWord(STRING003)
FGet 0, STRING003
WORD004 = ToWord(STRING003)
WORD005 = WORD001 / (WORD002 * 10)
WORD006 = WORD001 % (WORD002 * 10)
If (WORD006 == 0) Then
WORD005 = WORD005
Else
WORD005 = WORD005 + 1
Endif
If (CurSec() < WORD004) Then
PrintLn "Sorry, your security is insufficient to access that Network."
Newlines 1
BOOLEAN001 = 0
Endif
While (BOOLEAN001) Do
Gosub LABEL002
InputStr "Conf # to join (Enter=next page, 0 to exit)", STRING006, 14, 5, Mask_Num(), 2 + 4
If (STRING006 <> "") BOOLEAN001 = 0
If (WORD007 == WORD005) Then
BOOLEAN001 = 0
Continue
Endif
WORD007 = WORD007 + 1
EndWhile
If (STRING006 <> "") Then
If (STRING006 <> "0") KbdStuff "J " + STRING006 + "^M"
Endif
Else
Newlines 1
PrintLn "Sorry, that network is not in the above list."
Newlines 1
Endif
End
:LABEL002
Gosub LABEL006
Gosub LABEL003
Gosub LABEL005
Gosub LABEL004
Return
End
:LABEL003
PrintLn "@CLS@"
PrintLn "@X0F▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@X0F"
PrintLn STRING002
PrintLn "@X08▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀@X0F"
Newlines 1
Return
End
:LABEL004
PrintLn "@X0F▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄@X0F"
PrintLn "@X71 Available Conferences Jnet v.1.0 @X0F"
PrintLn "@X08▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀@X0F"
Return
End
:LABEL005
For WORD008 = 1 To WORD003
STRING008 = "@POS:" + String(((WORD008 - 1) % WORD002) * (80 / WORD002) + 1) + "@"
Print STRING008
Print "@X0B" + TSTRING004(WORD008, 1) + "@X0E∙@X02" + TSTRING004(WORD008, 2) + "@X0F"
If (WORD008 % WORD002 == 0) PrintLn " "
Next
Newlines 1
Return
End
:LABEL006
If (WORD007 == WORD005) Then
WORD003 = WORD006
Else
WORD003 = WORD002 * 10
Endif
For WORD008 = 1 To WORD003
STRING005 = ReadLine(PPEPath() + "NET_" + STRING001, WORD008 + (WORD007 - 1) * (WORD002 * 10) + 4)
TSTRING004(WORD008, 1) = Left(STRING005, 5)
TSTRING004(WORD008, 2) = Right(STRING005, Len(STRING005) - 5)
Next
Return
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 7 End
; 17 Goto
; 26 Let
; 2 Print
; 10 PrintLn
; 14 If
; 1 DispFile
; 1 FOpen
; 4 FGet
; 2 InputStr
; 5 Gosub
; 5 Return
; 2 Newline
; 6 Newlines
; 1 KbdStuff
;
;
; ■ Functions used :
;
; 6 *
; 4 /
; 4 %
; 32 +
; 4 -
; 4 ==
; 4 <>
; 3 <
; 2 <=
; 4 >=
; 9 !
; 4 &&
; 2 ||
; 2 Len(
; 3 Left()
; 1 Right()
; 1 String()
; 2 Mask_Num()
; 5 PPEPath()
; 1 ReadLine()
; 1 CurSec()
; 2 Exist()
; 3 ToWord()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 2 For/Next
; 1 While/EndWhile
; 6 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------