home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
ONEARM13.ZIP
/
ONE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-02-22
|
16KB
|
672 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
Boolean BOOLEAN002
Boolean BOOLEAN003
Boolean BOOLEAN004
Boolean BOOLEAN005
Boolean BOOLEAN006
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
Integer INTEGER008
Integer INTEGER009
Integer INTEGER010
Integer INTEGER011
Integer INTEGER012
Integer INTEGER013
Integer INTEGER014
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String TSTRING010(51,3)
String TSTRING011(51,3)
String TSTRING012(6)
;------------------------------------------------------------------------------
STRING002 = "Registered To: "
STRING003 = "UNREGISTERED VERSION"
BOOLEAN003 = 0
STRING001 = STRING002 + STRING003
STRING004 = "Version 1.3"
INTEGER013 = 0
INTEGER011 = 1
BOOLEAN005 = 0
TSTRING012(1) = "@X0CCHERRY "
TSTRING012(2) = "@X0E LEMON "
TSTRING012(3) = "@X0D PLUM "
TSTRING012(4) = "@X0A GRAPE "
TSTRING012(5) = "@X0F $$$$$ "
TSTRING012(6) = "@X09 ----- "
Log "Entered ONE.PPE at " + Left(Time(), 5), 0
Cls
GetUser
STRING005 = Left(U_Name(), InStr(U_Name(), " ") - 1)
STRING005 = Mixed(STRING005)
If (AnsiOn()) Goto LABEL001
PrintLn
PrintLn "Sorry ", STRING005, ", but this game requires ANSI capability."
Log "User does not have ANSI capability.", 0
PrintLn
Goto LABEL017
:LABEL001
If (BOOLEAN003) Goto LABEL002
INTEGER003 = 10
INTEGER012 = 25
PrintLn
PrintLn Space(17) + "@X0F One Armed Bandit - (C) 1993 Gerry Schechter"
PrintLn
PrintLn Space((80 - Len(STRING004)) / 2) + STRING004
PrintLn
Delay 30
PrintLn Space((80 - Len(STRING001)) / 2) + "@X0E" + STRING001
PrintLn
Delay 30
PrintLn Space(15) + "@X0F Please ask your Sysop to register this program!"
PrintLn
Delay 30
Goto LABEL003
:LABEL002
INTEGER003 = 50
PrintLn
PrintLn Space(17), "@X0F One Armed Bandit - (C) 1993 Gerry Schechter"
PrintLn
PrintLn Space((80 - Len(STRING004)) / 2), STRING004
PrintLn
PrintLn Space((80 - Len(STRING001)) / 2), "@X0E", STRING001
PrintLn
GetToken INTEGER009
If (INTEGER009 == 0) Then
INTEGER012 = 50
Else
INTEGER012 = INTEGER009
Endif
:LABEL003
If (BOOLEAN003) Goto LABEL004
If ((Left(STRING003, 1) <> "U") || (Right(STRING003, 1) <> "N")) Goto LABEL005
:LABEL004
If (BOOLEAN003) Then
If (Left(ReadLine(PCBDat(), 94), 10) <> Left(STRING003, 10)) Then
:LABEL005
PrintLn "@X0C"
PrintLn Space(14) + "Your Sysop is using a pirated copy of this program!"
PrintLn "@BEEP@"
PrintLn Space(12) + "This is dishonest and unethical, not to mention illegal!"
PrintLn
Log "--> Using Pirated Software Is Illegal!!", 0
Delay 35
Print Space(26)
Wait
Else
If (Exist(PPEPath() + "ONE.DAT")) Goto LABEL006
FCreate 1, PPEPath() + "ONE.DAT", 1, 3
INTEGER009 = 0
For INTEGER001 = 1 To 51
TSTRING010(INTEGER001, 1) = "NotUsed"
TSTRING010(INTEGER001, 2) = "01/01/90"
TSTRING010(INTEGER001, 3) = INTEGER009
FPutLn 1, TSTRING010(INTEGER001, 1)
FPutLn 1, TSTRING010(INTEGER001, 2)
FPutLn 1, TSTRING010(INTEGER001, 3)
TSTRING011(INTEGER001, 1) = "NotUsed"
TSTRING011(INTEGER001, 2) = "01/01/90"
TSTRING011(INTEGER001, 3) = INTEGER009
Next
FClose 1
:LABEL006
BOOLEAN001 = 0
BOOLEAN002 = 1
FOpen 1, PPEPath() + "ONE.DAT", 0, 0
For INTEGER001 = 1 To 50
FGet 1, TSTRING010(INTEGER001, 1)
If (U_Name() == TSTRING010(INTEGER001, 1)) Then
BOOLEAN001 = 1
INTEGER002 = INTEGER001
Endif
If ((!BOOLEAN001 && BOOLEAN002) && (TSTRING010(INTEGER001, 1) == "NotUsed")) Then
BOOLEAN002 = 0
INTEGER002 = INTEGER001
Endif
FGet 1, TSTRING010(INTEGER001, 2)
FGet 1, TSTRING010(INTEGER001, 3)
If (TSTRING010(INTEGER001, 3) > INTEGER013) Then
INTEGER014 = INTEGER001
INTEGER013 = TSTRING010(INTEGER001, 3)
Endif
Next
FGet 1, TSTRING010(INTEGER001, 1)
FGet 1, TSTRING010(INTEGER001, 2)
FGet 1, TSTRING010(INTEGER001, 3)
FClose 1
If (INTEGER002 > INTEGER003) Then
PrintLn "@X0C"
STRING006 = "Sorry " + STRING005 + ", maximum allowed users reached."
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
PrintLn
If (BOOLEAN003) Goto LABEL007
Delay 30
STRING006 = "Your Sysop must register this program in order for you to play."
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
Delay 30
Goto LABEL008
:LABEL007
STRING006 = "Please notify your sysop!"
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
:LABEL008
PrintLn
Print Space(26)
Wait
Else
If (BOOLEAN001) Then
PrintLn "@X0A"
PrintLn Space((66 - Len(STRING005)) / 2) + "Welcome Back " + STRING005
PrintLn
Print Space((57 - Len(TSTRING010(INTEGER002, 3))) / 2)
PrintLn "Your current score is " + TSTRING010(INTEGER002, 3)
INTEGER010 = TSTRING010(INTEGER002, 3)
INTEGER007 = INTEGER010
Else
PrintLn "@X0A"
PrintLn Space((72 - Len(STRING005)) / 2) + "Welcome " + STRING005
PrintLn
PrintLn Space(26) + "I'll start you out with 100"
TSTRING010(INTEGER002, 1) = U_Name()
TSTRING010(INTEGER002, 2) = Date()
INTEGER010 = 100
INTEGER007 = INTEGER010
TSTRING010(INTEGER002, 3) = INTEGER010
INTEGER009 = 99
FCreate 1, PPEPath() + "ONE.DAT", 1, 3
For INTEGER001 = 1 To 51
FPutLn 1, TSTRING010(INTEGER001, 1)
FPutLn 1, TSTRING010(INTEGER001, 2)
FPutLn 1, TSTRING010(INTEGER001, 3)
Next
FClose 1
Endif
PrintLn "@X0F"
If (INTEGER013 <> 0) Then
STRING006 = "The current high score is " + String(INTEGER013)
STRING006 = STRING006 + " by " + Mixed(TSTRING010(INTEGER014, 1))
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
PrintLn
Endif
STRING006 = "Y"
Print Space(25)
InputYN "Do you want sounds (Y/n)", STRING006, 11
If (((STRING006 == "y") || (STRING006 == "Y")) || (STRING006 == "")) Then
BOOLEAN006 = 1
Else
BOOLEAN006 = 0
Endif
If (INTEGER009 == 99) Goto LABEL009
If (TSTRING010(INTEGER002, 2) == Left(Date(), 8)) Then
PrintLn "@CLS@ @X0F"
STRING006 = "Sorry " + STRING005 + ", you may only play once per day."
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
PrintLn
Print Space(26)
Wait
Else
:LABEL009
Cls
Print "@X0B"
STRING006 = "One Armed Bandit"
PrintLn Space((76 - Len(STRING006)) / 2) + STRING006
PrintLn
PrintLn
PrintLn "@POS:22@@X09╔════════════════════════════════╗ @X07"
PrintLn "@POS:22@@X09║@X03░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒@X09║ ╥"
PrintLn "@POS:22@║ ║ ║"
PrintLn "@POS:22@║ @X0B┌───────┐ ┌───────┐ ┌───────┐@X09 ║ ║"
PrintLn "@POS:22@║ @X0B│ │ │ │ │ │@X09 ║ ║"
PrintLn "@POS:22@║ @X0B│ │ │ │ │ │@X09 ╠═══╝"
PrintLn "@POS:22@║ @X0B│ │ │ │ │ │@X09 ║"
PrintLn "@POS:22@║ @X0B└───────┘ └───────┘ └───────┘@X09 ║"
PrintLn "@POS:22@║ ║"
PrintLn "@POS:22@║@X03▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░@X09║"
PrintLn "@POS:22@╚════════════════════════════════╝"
PrintLn
Print "@POS:35@ @X0FBet = "
PrintLn INTEGER011
PrintLn
Print "@POS:33@ @X0FScore = "
Print INTEGER010
AnsiPos 34, 20
Print "Turns = "
Print INTEGER012
AnsiPos 26, 9
Print TSTRING012(5)
AnsiPos 36, 9
Print TSTRING012(5)
AnsiPos 46, 9
Print TSTRING012(5)
:LABEL010
AnsiPos 1, 23
ClrEol
Print "@X0F [@X0EP@X0F]lay [@X0EC@X0F]hange Bet [@X0EQ@X0F]uit "
Print "[@X0EH@X0F]elp [@X0ES@X0F]cores [@X0ER@X0F]edraw ?"
:LABEL011
INTEGER009 = Random(6)
STRING006 = Inkey()
If (MinLeft() < 2) Then
PrintLn "@CLS@"
BOOLEAN005 = 1
Else
If (STRING006 == "") Goto LABEL011
If ((STRING006 == "q") || (STRING006 == "Q")) Then
BOOLEAN005 = 1
PrintLn "@CLS@"
Else
If ((STRING006 == "r") || (STRING006 == "R")) Then
SaveScrn
RestScrn
Goto LABEL011
Endif
If (((STRING006 == "p") || (STRING006 == "P")) || (STRING006 == Chr(32))) Then
INTEGER010 = INTEGER010 - INTEGER011
INTEGER008 = INTEGER010
For INTEGER001 = 1 To 3
INTEGER004 = Random(4) + 1
INTEGER005 = Random(5) + 1
INTEGER006 = Random(5) + 1
If (INTEGER001 == 3) Then
If (INTEGER010 < 90) INTEGER004 = 1
If (((INTEGER004 == 1) && (INTEGER005 <> 1)) && (Random(1) == 0)) INTEGER005 = 1
If ((((INTEGER004 == 1) && (INTEGER005 == 1)) && (INTEGER006 <> 1)) && (Random(1) == 0)) INTEGER006 = 1
If (((INTEGER004 == 2) && (INTEGER005 <> 2)) && (Random(1) == 0)) INTEGER005 = 2
If ((((INTEGER004 == 2) && (INTEGER005 == 2)) && (INTEGER006 <> 2)) && (Random(1) == 0)) INTEGER006 = 2
If (((INTEGER004 == 3) && (INTEGER005 <> 3)) && (Random(2) == 0)) INTEGER005 = 3
If ((((INTEGER004 == 3) && (INTEGER005 == 3)) && (INTEGER006 <> 3)) && (Random(2) == 0)) INTEGER006 = 3
If (((INTEGER004 == 4) && (INTEGER005 <> 4)) && (Random(3) == 0)) INTEGER005 = 4
If ((((INTEGER004 == 4) && (INTEGER005 == 4)) && (INTEGER006 <> 4)) && (Random(3) == 0)) INTEGER006 = 4
Endif
AnsiPos 26, 9
Print TSTRING012(INTEGER004)
AnsiPos 36, 9
Print TSTRING012(INTEGER005)
AnsiPos 46, 9
Print TSTRING012(INTEGER006)
Delay 1
Next
If ((INTEGER004 == 1) && (INTEGER005 <> 1)) INTEGER010 = INTEGER010 + INTEGER011 * 2
If (((INTEGER004 == 1) && (INTEGER005 == 1)) && (INTEGER006 <> 1)) INTEGER010 = INTEGER010 + INTEGER011 * 3
If (((INTEGER004 == 1) && (INTEGER005 == 1)) && (INTEGER006 == 1)) INTEGER010 = INTEGER010 + INTEGER011 * 4
If (((INTEGER004 == 2) && (INTEGER005 == 2)) && (INTEGER006 == 2)) INTEGER010 = INTEGER010 + INTEGER011 * 6
If (((INTEGER004 == 3) && (INTEGER005 == 3)) && (INTEGER006 == 3)) INTEGER010 = INTEGER010 + INTEGER011 * 7
If (((INTEGER004 == 4) && (INTEGER005 == 4)) && (INTEGER006 == 4)) INTEGER010 = INTEGER010 + INTEGER011 * 8
If (((INTEGER004 == 5) && (INTEGER005 == 5)) && (INTEGER006 == 5)) INTEGER010 = INTEGER010 + INTEGER011 * 10
AnsiPos 36, 13
If (INTEGER010 > INTEGER008) Then
Print "@X0BWinner!"
If (BOOLEAN006) Gosub LABEL020
Else
Print "@X03░▒░▒░▒░"
Endif
Else
If ((STRING006 == "C") || (STRING006 == "c")) Then
:LABEL012
AnsiPos 1, 23
ClrEol
InputInt "Enter New Bet Amount (1-20) ", INTEGER011, 2
If ((INTEGER011 < 1) || (INTEGER011 > 20)) Goto LABEL012
AnsiPos 42, 16
Print "@X0F"
Print INTEGER011
Print " "
Goto LABEL010
Endif
If ((STRING006 == "S") || (STRING006 == "s")) Then
Gosub LABEL018
Goto LABEL010
Endif
If ((STRING006 == "H") || (STRING006 == "h")) Then
SaveScrn
Print "@CLS@"
PrintLn "@X0APlaying @X0EOne Armed Bandit @X0Ais easy!"
PrintLn
PrintLn "@X0APress @X0EP@X0A or @X0ESpace@X0A to play."
PrintLn "@X0APress @X0EC@X0A to change the amount of your bet."
PrintLn "@X0APress @X0ES@X0A to see the current scores."
PrintLn "@X0APress @X0EQ@X0A to quit the game."
PrintLn "@X0APress @X0ER@X0A to redraw the screen."
PrintLn
PrintLn "@X0APayoffs are as follows:"
PrintLn
PrintLn "@X0CCHERRY@X0A ------ ------ 2X bet"
PrintLn "@X0CCHERRY CHERRY@X0A ------ 3X"
PrintLn "@X0CCHERRY CHERRY CHERRY@X0A 4X"
PrintLn "@X0ELEMON LEMON LEMON@X0A 6X"
PrintLn "@X0DPLUM PLUM PLUM@X0A 7X"
PrintLn "@X0AGRAPE GRAPE GRAPE 8X"
PrintLn "@X0F$$$$$ $$$$$ $$$$$@X0A 10X"
PrintLn
PrintLn "@X0AThe first person to score 5,000 wins, and the scores are then reset."
PrintLn
Print Space(21)
Wait
RestScrn
Goto LABEL010
Endif
Goto LABEL010
Endif
AnsiPos 42, 16
Print "@X0F", INTEGER011, " "
AnsiPos 42, 18
Print INTEGER010, " "
AnsiPos 42, 20
INTEGER012 = INTEGER012 - 1
Print INTEGER012, " "
If (MinLeft() < 5) Then
If (MinLeft() < 2) Then
PrintLn "@CLS@"
BOOLEAN005 = 1
Goto LABEL014
Endif
AnsiPos 30, 5
Print "@X0FCaution " + String(MinLeft()) + " min left"
Endif
AnsiPos 56, 23
If (INTEGER012 == 0) Goto LABEL013
If (INTEGER010 < 5000) Goto LABEL011
Delay 10
PrintLn "@CLS@ @X0C"
If (BOOLEAN006) Gosub LABEL020
STRING006 = "Congratulations " + STRING005 + ", you've won the round!"
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
If (BOOLEAN006) Gosub LABEL020
Delay 30
For INTEGER001 = 1 To 50
TSTRING010(INTEGER001, 1) = "NotUsed"
TSTRING010(INTEGER001, 2) = "01/01/90"
TSTRING010(INTEGER001, 3) = 0
Next
TSTRING010(51, 1) = U_Name()
TSTRING010(51, 2) = Date()
TSTRING010(51, 3) = 0
Goto LABEL015
:LABEL013
Delay 40
PrintLn "@CLS@ @X0F"
STRING006 = "Sorry " + STRING005 + ", but you are out of turns for today."
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
Endif
Endif
:LABEL014
PrintLn "@X0A"
If (INTEGER010 >= INTEGER007) Then
STRING006 = "You won " + String(INTEGER010 - INTEGER007) + " today!"
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
Else
STRING006 = "You lost " + String(INTEGER007 - INTEGER010) + " today."
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
Endif
PrintLn "@X0E"
STRING006 = "Please call back tomorrow and play again."
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
If (INTEGER010 > INTEGER013) Then
PrintLn "@X0F"
STRING006 = "Congratulations, you now have the high score!"
If (BOOLEAN006) Gosub LABEL020
PrintLn Space((80 - Len(STRING006)) / 2) + STRING006
Endif
PrintLn
Print Space(26)
Wait
:LABEL015
Gosub LABEL018
PrintLn "@CLS@ @X0F"
Print "Exiting .. "
FCreate 1, PPEPath() + "ONE.DAT", 1, 3
For INTEGER001 = 1 To 51
If ((INTEGER010 < 5000) && (INTEGER002 == INTEGER001)) Then
TSTRING010(INTEGER002, 2) = Date()
TSTRING010(INTEGER002, 3) = INTEGER010
Endif
FPutLn 1, TSTRING010(INTEGER001, 1)
FPutLn 1, TSTRING010(INTEGER001, 2)
FPutLn 1, TSTRING010(INTEGER001, 3)
Next
FClose 1
If (Exist(PPEPath() + "ONE.BAT")) Then
FCreate 1, PPEPath() + "ONE.BLT", 1, 3
FPutLn 1, ""
FPut 1, "@X0F "
STRING006 = "One Armed Bandit High Scores To Date"
FPutLn 1, Space((76 - Len(STRING006)) / 2) + STRING006
STRING006 = "════════════════════════════════════"
FPut 1, "@X0C"
FPutLn 1, Space((78 - Len(STRING006)) / 2) + STRING006
If ((TSTRING010(51, 1) <> "NotUsed") && (TSTRING010(51, 1) <> "")) Then
FPut 1, "@X0D"
STRING006 = "Winner Last Round Was " + Mixed(TSTRING010(51, 1)) + " On " + TSTRING010(51, 2)
FPutLn 1, Space((78 - Len(STRING006)) / 2) + STRING006
Endif
FPutLn 1, "@X0E"
FPutLn 1, Space(18), " Name Date Score"
FPutLn 1, "@X0A"
For INTEGER001 = 1 To 50
If (TSTRING011(INTEGER001, 1) <> "NotUsed") Then
If (INTEGER001 == 1) Then
FPut 1, "@X0F"
Goto LABEL016
Endif
FPut 1, "@X0A"
:LABEL016
FPut 1, Space(18), Mixed(TSTRING011(INTEGER001, 1)), "@POS:44@", TSTRING011(INTEGER001, 2), " "
FPutLn 1, Right(Space(3) + TSTRING011(INTEGER001, 3), 4)
Endif
Next
FClose 1
Shell 1, INTEGER001, PPEPath() + "ONE.BAT", ""
Endif
Endif
Endif
:LABEL017
If (BOOLEAN003) Then
PrintLn "Returning you to " + STRING003 + ".."
Else
Delay 30
PrintLn "Returning you to PCBoard.."
Delay 30
Endif
Endif
Endif
Log "Exited ONE.PPE at " + Left(Time(), 5), 0
End
:LABEL018
If ((INTEGER012 <> 0) && !BOOLEAN005) SaveScrn
If (INTEGER010 < 5000) Then
TSTRING010(INTEGER002, 2) = Date()
TSTRING010(INTEGER002, 3) = INTEGER010
Endif
Print "@CLS@ @X0D"
For INTEGER001 = 1 To 50
TSTRING011(INTEGER001, 1) = TSTRING010(INTEGER001, 1)
TSTRING011(INTEGER001, 2) = TSTRING010(INTEGER001, 2)
TSTRING011(INTEGER001, 3) = TSTRING010(INTEGER001, 3)
Next
AnsiPos 30, 12
Print "Sorting."
:LABEL019
BOOLEAN004 = 1
For INTEGER001 = 1 To 99
INTEGER009 = INTEGER001 + 1
If ((TSTRING011(INTEGER009, 1) <> "NotUsed") && (S2I(TSTRING011(INTEGER009, 3), 10) > S2I(TSTRING011(INTEGER001, 3), 10))) Then
BOOLEAN004 = 0
STRING007 = TSTRING011(INTEGER001, 1)
STRING008 = TSTRING011(INTEGER001, 2)
STRING009 = TSTRING011(INTEGER001, 3)
TSTRING011(INTEGER001, 1) = TSTRING011(INTEGER009, 1)
TSTRING011(INTEGER001, 2) = TSTRING011(INTEGER009, 2)
TSTRING011(INTEGER001, 3) = TSTRING011(INTEGER009, 3)
TSTRING011(INTEGER009, 1) = STRING007
TSTRING011(INTEGER009, 2) = STRING008
TSTRING011(INTEGER009, 3) = STRING009
Endif
Next
Print "."
If (!BOOLEAN004) Goto LABEL019
Print "@CLS@ @X0F"
STRING006 = "One Armed Bandit High Scores To Date"
PrintLn Space((76 - Len(STRING006)) / 2) + STRING006
STRING006 = "════════════════════════════════════"
Print "@X0C"
PrintLn Space((78 - Len(STRING006)) / 2) + STRING006
If ((TSTRING010(51, 1) <> "NotUsed") && (TSTRING010(51, 1) <> "")) Then
Print "@X0D"
STRING006 = "Winner Last Round Was " + Mixed(TSTRING010(51, 1)) + " On " + TSTRING010(51, 2)
PrintLn Space((78 - Len(STRING006)) / 2) + STRING006
INTEGER009 = 13
Else
INTEGER009 = 15
Endif
PrintLn "@X0E"
PrintLn Space(18), " Name Date Score"
PrintLn "@X0A"
For INTEGER001 = 1 To INTEGER009
If (TSTRING011(INTEGER001, 1) <> "NotUsed") Then
Print "@X0A"
If (TSTRING011(INTEGER001, 1) == U_Name()) Print "@X0B"
If (INTEGER001 == 1) Print "@X0F"
Print Space(18), Mixed(TSTRING011(INTEGER001, 1)), "@POS:44@", TSTRING011(INTEGER001, 2), " "
PrintLn Right(Space(3) + TSTRING011(INTEGER001, 3), 4)
Endif
Next
PrintLn
Print Space(25)
Wait
If ((INTEGER012 <> 0) && !BOOLEAN005) RestScrn
Return
:LABEL020
Print Chr(7)
Return
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 1 End
; 2 Cls
; 2 ClrEol
; 6 Wait
; 91 Goto
; 140 Let
; 44 Print
; 107 PrintLn
; 80 If
; 4 FCreate
; 1 FOpen
; 5 FClose
; 6 FGet
; 6 FPut
; 17 FPutLn
; 1 GetUser
; 4 Log
; 1 InputYN
; 1 InputInt
; 6 Gosub
; 2 Return
; 12 Delay
; 1 GetToken
; 1 Shell
; 17 AnsiPos
; 3 SaveScrn
; 3 RestScrn
;
;
; ■ Functions used :
;
; 7 *
; 25 /
; 90 +
; 30 -
; 66 ==
; 23 <>
; 18 <
; 10 <=
; 6 >
; 21 >=
; 53 !
; 61 &&
; 21 ||
; 25 Len(
; 7 Left()
; 3 Right()
; 44 Space()
; 2 Chr()
; 1 InStr()
; 12 Random()
; 5 Date()
; 2 Time()
; 6 U_Name()
; 1 Inkey()
; 4 String()
; 1 PCBDat()
; 8 PPEPath()
; 1 ReadLine()
; 4 MinLeft()
; 2 Exist()
; 2 S2I()
; 1 AnsiOn()
; 6 Mixed()
;
;------------------------------------------------------------------------------
;
; Analysis flags : Sd
;
; S - Shell to DOS ■ 5
; This may be normal if the PPE need to execute an external command,
; but may be actually anything... nasty (formating HD, rebooting,...)
; or usefull (sorting, maintenance,...). Check!
; ■ Search for : SHELL
;
; 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
;
; 10 For/Next
; 0 While/EndWhile
; 34 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------