// working variables...
Dim Value As Byte
Dim Str As String
Dim x As Byte
Dim sw As PORTA.0
Dim ms As Word
Dim s As String
Dim time As Word
Dim LastLOWScore As Word
Dim Prev_score As Word
Dim score As String
Dim tmpByte As Byte
Dim LastHighScore As Word
ms=45
Prev_score=123
LasthighScore=256
's=DecToStr(ms/1000)+"."+DecToStr((ms Mod 1000)) //players current score
while true
EE.Read(0,tmpByte)
If tmpByte = $77 Then
EE.Read(1,LastHighScore)
writeat(1,1,dectostr(LastHighScore)) //
Else
LastHighScore = 0
EE.Write(0,$77,LastHighScore)
writeat(2,1,dectostr(prev_score)) //
EndIf
delayms(4000)
cls
'Dim LastHighScore As Word
EE.Read(1,LastHighScore)
If prev_score > LastHighScore Then
EE.Write(1,dectostr(lasthighscore))
writeat(1,1,dectostr(lasthighscore)) //
EndIf
delayms(4000)
cls
wend