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 / Imhof2.lss < prev    next >
Text File  |  2005-10-30  |  8KB  |  182 lines

  1. ; Lynx Scoreboard Script (IMHOF.LSS)
  2. ;
  3. ; Copyright (c) 1995 Lynx System Developers, Inc.
  4. ;
  5. ; Ingo G÷ppert  Imhof-Timing
  6. ; IMHOF scoreboard
  7. ;
  8. ; Notes:
  9. ;  + Empty lines and lines that start with a semicolon are ignored. Lines
  10. ;    cannot be longer than 255 characters.
  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. ;      ;;ResultsHeader
  17. ;      ;;ResultsTrailer
  18. ;      ;;Result
  19. ;    Sections may be omitted, appear in any order, and occur more than once.
  20. ;    Each section can contain a maximum of 20 lines.
  21. ;  + Format lines must begin with a value indicating which variable
  22. ;    they want to access. The special code \00 indicates that no variable
  23. ;    is being requested. If a variable is requested it will be inserted where
  24. ;    a '%s' printf style format specifier appears. There can only be one '%s'
  25. ;    specifier in lines requesting a variable and no other printf format
  26. ;    specifiers may appear. Remember, lines requesting a variable are used as
  27. ;    a printf format string and therefore must behave as such. Lines not 
  28. ;    requesting variables (code \00) can do whatever they want as these 
  29. ;    lines are not fed to a printf statement.
  30. ;  + Arbitrary 8 bit values are entered as \hh where h is a lowercase hex
  31. ;    digit. Note that h must be lowercase.
  32. ;  + Format lines can have the following commands embedded in them.
  33. ;    Note that only 10 registers (indexed 0-9) are currently implemented.
  34. ;     \U\hh   Set the 'U' value to hh. It is reset after the next command.
  35. ;     \X\hh   Set the 'X' value to hh. It is reset after the next command.
  36. ;     \=\hh   register[hh] = {register[U]|X|1}                 (assign)
  37. ;     \*\hh   register[hh] = register[hh] * {register[U]|X|1}  (multiply)
  38. ;     \/\hh   register[hh] = register[hh] / {register[U]|X|1}  (divide)
  39. ;     \#\hh   register[hh] = register[hh] # {register[U]|X|1}  (modulus)
  40. ;     \+\hh   register[hh] = register[hh] + {register[U]|X|1}  (add)
  41. ;     \-\hh   register[hh] = register[hh] - {register[U]|X|1}  (subtract)
  42. ;     \<\hh   register[hh] = register[hh] << {register[U]|X|1} (shift left)
  43. ;     \>\hh   register[hh] = register[hh] >> {register[U]|X|1} (shift right)
  44. ;     \&\hh   register[hh] = register[hh] & {register[U]|X|1}  (bit and)
  45. ;     \|\hh   register[hh] = register[hh] | {register[U]|X|1}  (bit or)
  46. ;     \^\hh   register[hh] = register[hh] ^ {register[U]|X|1}  (bit xor)
  47. ;     \~\hh   register[hh] = ~register[hh]                     (bit invert)
  48. ;     \F\hh   register[hh] = The result of running Function {U|0} on the 
  49. ;             next {X|<eol>} characters.
  50. ;              \U\00  IDS checksum.
  51. ;     \O\hh   Output register[hh] as an {X|1} byte value using method {U|0}.
  52. ;              \U\00  Binary little-endian (Intel byte order).
  53. ;              \U\01  Binary big-endian (Motorola byte order).
  54. ;              \U\02  ASCII text right justified space padded.
  55. ;              \U\03  ASCII text right justified zero padded.
  56. ;              \U\04  ASCII text left justified space padded.
  57. ;              \U\05  ASCII text left justified zero padded.
  58. ;     \S\hh   Scan the next {X|1} bytes into register[hh] using method {U|0}.
  59. ;              \U\00  ASCII text base 10.
  60. ;     \P\hh   Run Procedure \hh on the next {X|<eol>} characters.
  61. ;              \P\00  Reverse characters.
  62. ;              \P\01  Convert characters to Colorado Time format.
  63. ;     \B\hh   Delete \hh (to beginning of line if \hh is zero) characters 
  64. ;             before the cursor or until the string contains U characters.
  65. ;     \D\hh   Delete \hh (to end of line if \hh is zero) characters 
  66. ;             at the cursor or until the string contains U characters.
  67. ;     \I\hh   Insert \hh spaces at the cursor or until the string
  68. ;             contains U characters.
  69. ;     \L\hh   Move the cursor \hh positions to the left (to the beginning
  70. ;             of the line if \hh is zero).
  71. ;     \R\hh   Move the cursor \hh positions to the right (to the end
  72. ;             of the line if \hh iz zero).
  73. ;    Note that numbers 0 thru 9 can be entered directly for single character
  74. ;    embedded commands. For example, '\U\04' is the same as '\U4' and 
  75. ;    '\=\01' is the same as '\=1'.
  76. ;  + Be very careful about whitespace in each format line. Characters other
  77. ;    than '%s' specifiers and embedded commands and values will be sent
  78. ;    exactly as they appear on the line. This means, for instance, that using
  79. ;    tabs to make a line 'look right' in you favorite editor will cause
  80. ;    tabs to be sent to the scoreboard instead of the equivalent number of
  81. ;    spaces (probably not what you wanted).
  82. ;
  83. ; The format lines follow.
  84.  
  85. ;;Initialization
  86. ; Rⁿchsetzen/l÷schen der Anzeige
  87. ; Line codes:
  88. ;  \00 No variable
  89. ; put in the required reset/clear command here!
  90.  
  91. \00\f0\0a\f1\0a\f2\0a\f3\0a\f4\0a\f5\0a\f6\0a\f7\0a\f8\0a\f8\0a\f9\0a\fa\0a\fb\0a\fc\0a\fd\0a\fe\0a\ff\0a\0a
  92.  
  93. ;;TimeRunning
  94. ; = laufende Zeit: This is sent approximately 10 times per second.
  95. ; Line codes:
  96. ;  \00  No variable
  97. ;  \01  Time
  98. ; Setting register[0] to 1 in a format line will cause that line and
  99. ; subsequent lines to only be sent once per second (when the second's 
  100. ; digit changes) instead of approximately 10 times per second. Setting
  101. ; register[0] to 0 will resume normal operation for remaining lines.
  102.  
  103. \01\=0%12.12s\B4\L2\B1\L2\B1\R0  \0a
  104.  
  105. ;;TimeStopped
  106. ; = Anzeige nach einem Stopimpuls der Lichtschranke
  107. ; Line codes are identical to the TimeRunning line codes.
  108.  
  109. \01\=0%12.12s\B1\L2\B1\L2\B1\L2\B1\R0\0a
  110.  
  111. ;;TimeOfDay
  112. ; = Tageszeit
  113. \01\=0%12.12s\B4\L2\B1\L2\B1\R0\0a
  114.  
  115. ;;ResultsHeader
  116. ; This is sent once each time the scoreboard is updated with results. It
  117. ; is sent before any result lines are sent.
  118. ; Line codes:
  119. ;  \00  No variable
  120. ;  \01  OFFICIAL/UNOFFICIAL string
  121. ;  \02  Event name
  122. ;  \03  Wind
  123. ;  \04  Event number
  124. ;  \05  Round number
  125. ;  \06  Heat number
  126. ;  \07  AUTO/MANUAL start type
  127. ;  \08  Number of participants
  128.  
  129. ;;ResultsTrailer
  130. ; This is sent once each time the scoreboard is updated with results. It
  131. ; is sent after all result lines are sent.
  132. ; Line codes are identical to the ResultsHeader line codes.
  133.  
  134. ;;Result
  135. ; Ergebnisausgabe: This is sent once for each result line displayed on the scoreboard.
  136. ; Line codes:
  137. ;  \00  No variable
  138. ;  \01  Platzausgabe
  139. ;  \02  Lane = Bahnausgabe
  140. ;  \03  Id = Startnummernausgabe
  141. ;  \04  Namensaugabe
  142. ;  \05  Affiliation
  143. ;  \06  Time = Zeitausgabe
  144. ;  \07  Delta Time
  145. ;  \08  Cumulative Split Time
  146. ;  \09  Last Split Time
  147. ;  \0a  Laps To Go
  148. ;  \0b  License
  149. ;  \0c  ReacTime
  150. ; Register[0] is initialized with the index of the current result line and
  151. ; will range from 0 through <SCBPageSize-1>.
  152. ; Ausgabe Platz, (Bahn), Startnummer
  153. \01%2.2s
  154. ;\02%2.2s
  155. \03%4.4s
  156. ;\04%6.6s
  157. ; Ausgabe Zeit
  158. \06%12.12s\B1\L2\B1\L2\B1\L2\B4\R0\0a
  159.  
  160. ;;MessageHeader
  161. ; This is sent once each time the scoreboard is updated with the message. It
  162. ; is sent before any message lines are sent.
  163. ; Line codes:
  164. ;  \00  No variable
  165. ; \00Message Header\0d\0a
  166.  
  167. ;;MessageTrailer
  168. ; This is sent once each time the scoreboard is updated with the message. It
  169. ; is sent after all message lines are sent.
  170. ; Line codes are identical to the MessageHeader line codes.
  171. ; \00Message Trailer\0d\0a
  172.  
  173. ;;Message
  174. ; This is sent once for each message line displayed on the scoreboard.
  175. ; Line codes:
  176. ;  \00  No variable
  177. ;  \01  Text
  178. ; Register[0] is initialized with the index of the current message line and
  179. ; will range from 0 through <number of lines> - 1.
  180. \01%s\0d
  181.  
  182.