home *** CD-ROM | disk | FTP | other *** search
/ boe.pres.k12.wv.us / boe.pres.k12.wv.us.zip / boe.pres.k12.wv.us / Utilities / Finishlynx / FinishLynx-8.00.exe / Eversan.lss < prev    next >
Text File  |  2006-01-12  |  7KB  |  156 lines

  1. ; Defaults: 4800,8,N,1
  2. ;
  3. ; Lynx Scoreboard Script
  4. ;
  5. ; Copyright (c) 1996-2005 Eversan, Inc.
  6. ;
  7. ; Written by Mike Evke
  8. ;
  9. ; Notes:
  10. ;  + Empty lines and lines that start with a semicolon are ignored.
  11. ;  + Lines that start with two semicolons indicate a section header.
  12. ;    They must be one of the following:
  13. ;      ;;Initialization
  14. ;      ;;TimeRunning
  15. ;      ;;TimeStopped
  16. ;      ;;TimeGun
  17. ;      ;;TimeBreak
  18. ;      ;;TimeUpdate
  19. ;      ;;Wind
  20. ;      ;;TimeOfDay
  21. ;      ;;ResultsHeader
  22. ;      ;;ResultsTrailer
  23. ;      ;;Result
  24. ;    Sections may be omitted, appear in any order, and occur more than once.
  25. ;  + Format lines must begin with a value indicating which variable
  26. ;    they want to access. The special code \00 indicates that no variable
  27. ;    is being requested. If a variable is requested it will be inserted where
  28. ;    a '%s' printf style format specifier appears. There can only be one '%s'
  29. ;    specifier in lines requesting a variable and no other printf format
  30. ;    specifiers may appear. Remember, lines requesting a variable are used as
  31. ;    a printf format string and therefore must behave as such. Lines not 
  32. ;    requesting variables (code \00) can do whatever they want as these 
  33. ;    lines are not fed to a printf statement.
  34. ;  + Arbitrary 8 bit values are entered as \hh where h is a lowercase hex
  35. ;    digit. Note that h must be lowercase.
  36. ;  + Format lines can have the following commands embedded in them.
  37. ;    Note that only 10 registers (indexed 0-9) are currently implemented.
  38. ;     \U\hh   Set the 'U' value to hh. It is reset after the next command.
  39. ;     \Ui\hh  Set the 'U' value to register[hh].
  40. ;     \X\hh   Set the 'X' value to hh. It is reset after the next command.
  41. ;     \Xi\hh  Set the 'X' value to register[hh].
  42. ;     \=\hh   register[hh] = {register[U]|X|1}                 (assign)
  43. ;     \*\hh   register[hh] = register[hh] * {register[U]|X|1}  (multiply)
  44. ;     \/\hh   register[hh] = register[hh] / {register[U]|X|1}  (divide)
  45. ;     \#\hh   register[hh] = register[hh] # {register[U]|X|1}  (modulus)
  46. ;     \+\hh   register[hh] = register[hh] + {register[U]|X|1}  (add)
  47. ;     \-\hh   register[hh] = register[hh] - {register[U]|X|1}  (subtract)
  48. ;     \<\hh   register[hh] = register[hh] << {register[U]|X|1} (shift left)
  49. ;     \>\hh   register[hh] = register[hh] >> {register[U]|X|1} (shift right)
  50. ;     \&\hh   register[hh] = register[hh] & {register[U]|X|1}  (bit and)
  51. ;     \|\hh   register[hh] = register[hh] | {register[U]|X|1}  (bit or)
  52. ;     \^\hh   register[hh] = register[hh] ^ {register[U]|X|1}  (bit xor)
  53. ;     \~\hh   register[hh] = ~register[hh]                     (bit invert)
  54. ;     \F\hh   register[hh] = The result of running Function {U|0} on the 
  55. ;             next {X|<eol>} characters.
  56. ;              \U\00  IDS checksum.
  57. ;              \U\01  XOR checksum. register[hh] is used as the seed value.
  58. ;     \O\hh   Output register[hh] as an {X|1} byte value using method {U|0}.
  59. ;              \U\00  Binary little-endian (Intel byte order).
  60. ;              \U\01  Binary big-endian (Motorola byte order).
  61. ;              \U\02  ASCII text right justified space padded.
  62. ;              \U\03  ASCII text right justified zero padded.
  63. ;              \U\04  ASCII text left justified space padded.
  64. ;              \U\05  ASCII text left justified zero padded.
  65. ;     \S\hh   Scan the next {X|1} bytes into register[hh] using method {U|0}.
  66. ;              \U\00  ASCII text base 10.
  67. ;              \U\01  Binary little-endian (Intel byte order).
  68. ;              \U\02  Binary big-endian (Motorola byte order).
  69. ;     \P\hh   Run Procedure hh on the next {X|<eol>} characters.
  70. ;              \P\00  Reverse characters.
  71. ;     \B\hh   Delete {register[U]|hh} (to beginning of line if zero) characters 
  72. ;             before the cursor or until the string contains X characters.
  73. ;     \D\hh   Delete {register[U]|hh} (to end of line if zero) characters 
  74. ;             at the cursor or until the string contains X characters.
  75. ;     \I\hh   Insert {register[U]|hh} spaces at the cursor or until the string
  76. ;             contains X characters.
  77. ;     \Ic\hh  Insert {register[U]|hh} {X's|spaces} at the cursor.
  78. ;     \L\hh   Move the cursor {register[U]|hh} positions to the left (to the 
  79. ;             beginning of the line if zero).
  80. ;     \R\hh   Move the cursor {register[U]|hh} positions to the right (to the
  81. ;             end of the line if zero).
  82. ;    Note that numbers 0 thru 9 can be entered directly for single character
  83. ;    embedded commands. For example, '\U\04' is the same as '\U4' and 
  84. ;    '\=\01' is the same as '\=1'.
  85. ;  + Be very careful about whitespace in each format line. Characters other
  86. ;    than '%s' specifiers and embedded commands and values will be sent
  87. ;    exactly as they appear on the line. This means, for instance, that using
  88. ;    tabs to make a line 'look right' in you favorite editor will cause
  89. ;    tabs to be sent to the scoreboard instead of the equivalent number of
  90. ;    spaces (probably not what you wanted).
  91. ;
  92. ; The format lines follow.
  93.  
  94. ;;Initialization
  95. ; This is sent once to initialize the scoreboard.
  96. ; Line codes:
  97. ;  \00 No variable
  98.  
  99.  
  100. ;;TimeRunning
  101. ; This is sent approximately 10 times per second.
  102. ; Line codes:
  103. ;  \00  No variable
  104. ;  \01  Time
  105. ; Setting register[0] to 1 in a format line will cause that line and
  106. ; subsequent lines to only be sent once per second (when the second's 
  107. ; digit changes) instead of approximately 10 times per second. Setting
  108. ; register[0] to 0 will resume normal operation for remaining lines.
  109. \01\=0\87%12.12s\B4\I2\L2\B1\L2\B3\I2\R0\0a
  110.  
  111. ;;TimeStopped
  112. ; This is sent when the time is stopped by a beam break.
  113. ; Line codes are identical to the TimeRunning line codes.
  114. \01\87%12.12s\B1\L2\B1\L2\B1\L2\B3\I2\R0\0a
  115.  
  116. ;;TimeOfDay
  117. \01\=0\87%12.12s\B1\B2\B1\L2\B1\L2\B1\L2\I2\R0\0a
  118.  
  119. ;;ResultsHeader
  120. ; This is sent once each time the scoreboard is updated with results. It
  121. ; is sent before any result lines are sent.
  122. ; Line codes:
  123. ;  \00  No variable
  124. ;  \01  OFFICIAL/UNOFFICIAL string
  125. ;  \02  Event name
  126. ;  \03  Wind
  127. ;  \04  Event number
  128. ;  \05  Round number
  129. ;  \06  Heat number
  130. ;  \07  AUTO/MANUAL start type
  131. ;  \08  Number of participants
  132.  
  133.  
  134. ;;ResultsTrailer
  135. ; This is sent once each time the scoreboard is updated with results. It
  136. ; is sent after all result lines are sent.
  137. ; Line codes are identical to the ResultsHeader line codes.
  138.  
  139.  
  140. ;;Result
  141. ; This is sent once for each result line displayed on the scoreboard.
  142. ; Line codes:
  143. ;  \00  No variable
  144. ;  \01  Place
  145. ;  \02  Lane
  146. ;  \03  Id
  147. ;  \04  Name
  148. ;  \05  Affiliation
  149. ;  \06  Time
  150. ; Register[0] is initialized with the index of the current result line and
  151. ; will range from 0 through <SCBPageSize-1>.
  152. \01\87%1.1s
  153. \02%1.1s\
  154. \06\%12.12s\B1\L2\B1\L2\B1\L2\B3\
  155. \00\0a
  156.