1 / 131

; LightBar module PPE 03/3/94

; LightBar module PPE 03/3/94. ; by: Mr. Data. ;. ;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²². ; DECLARATIONS. ;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²². String LiteModule, LiteExt. String In, Out, YoX, YoY.

xandy
Télécharger la présentation

; LightBar module PPE 03/3/94

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ; LightBar module PPE 03/3/94

  2. ; by: Mr. Data

  3. ;

  4. ;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²

  5. ; DECLARATIONS

  6. ;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²

  7. String LiteModule, LiteExt

  8. String In, Out, YoX, YoY

  9. String Title(50), Stuff(50), Disp(50), UnHiX, HiX, HotKey(50)

  10. Byte XPos(50), YPos(50), TXPos, TYPos, SavPos(5,1)

  11. Byte NumItems, Flag, Yo, CurItem, LastItem, PageDivisor

  12. Byte Start, RelTitE, RelTitS, RelIteE, RelIteS

  13. SByte SX, SY

  14. ;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²

  15. ; DEFINITIONS

  16. ;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²

  17. LiteModule = GetToken()

  18. LiteExt = ".LIT"

  19. LiteModule = PPEPath()+LiteModule+LiteExt

  20. Start = 1

  21. RelTitE = 2

  22. RelTitS = 3

  23. RelIteE = 4

  24. RelIteS = 5

  25. SavPos(Start, 0) = GetX()

  26. SavPos(Start, 1) = GetY()

  27. SavPos(RelTitE, 0) = GetX()

  28. SavPos(RelTitE, 1) = GetY()

  29. SavPos(RelTitS, 0) = GetX()

  30. SavPos(RelTitS, 1) = GetY()

  31. SavPos(RelIteE, 0) = GetX()

  32. SavPos(RelIteE, 1) = GetY()

  33. SavPos(RelIteS, 0) = GetX()

  34. SavPos(RelIteS, 1) = GetY()

  35. CurItem = 1

  36. LastItem = 1

  37. PageDivisor = 4

  38. ;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²

  39. ; CODE

  40. ;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²;²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²²

  41. If (Exist(LiteModule) = False) Then • SPrintLn LiteModule, " Not Found" • End

  42. EndIf

  43. FClose 0

  44. FOpen 0, LiteModule, O_RD, S_DN

  45. ;-----

  46. While (True) Do ;Display title(s) • FGet 0, YoX • If (Left(YoX, 2) = "@X") Then • UnHiX = YoX • FGet 0, HiX • If ((GrafMode() = "A")||(GrafMode() = "N")) Then • HiX = Chr(27)+"[7m" • UnHiX = Chr(27)+"[0m" • EndIf • FGet 0, NumItems • Break • Else • FGet 0, YoY • FGet 0, Title(0) • Gosub MakeCoords • SX = TXPos • SY = TYPos • Gosub AnsPos • SavPos(RelTitS, 0) = GetX() • SavPos(RelTitS, 1) = GetY() • SavPos(RelIteS, 0) = GetX() • SavPos(RelIteS, 1) = GetY() • If (Left(Title(0), 1) = "%") Then • DispFile Mid(Title(0), 2, Len(Title(0))-1), Graph+Lang • ElseIf (Left(Title(0), 1) = "#") Then • Cls • DispFile Mid(Title(0), 2, Len(Title(0))-1), Graph+Lang • Else • Print Title(0) • EndIf • EndIf

  47. EndWhile

  48. SavPos(RelTitE, 0) = GetX()

  49. SavPos(RelTitE, 1) = GetY()

  50. SavPos(RelIteE, 0) = GetX()

More Related