home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_BAS / PRO98SRC.ZIP / FIXUP.INC < prev    next >
Text File  |  1994-01-31  |  25KB  |  322 lines

  1. type fixuptype
  2.         keyword as string * 10
  3.         offset  as word
  4. end type
  5. dim fixup(384) as shared fixuptype
  6. fixupbase??=varseg(fixup(0).keyword)
  7. x=0
  8. fixup(0).keyword = "        "
  9. fixup(0).offset  = codeptr(PtrNotKey)
  10.  
  11. incr x:fixup(x).keyword = " IF       ":fixup(x).offset  = codeptr(PtrIF)
  12. incr x:fixup(x).keyword = " INCR     ":fixup(x).offset  = codeptr(PtrINCR)
  13. incr x:fixup(x).keyword = " PRINT    ":fixup(x).offset  = codeptr(PtrPRINT)
  14. incr x:fixup(x).keyword = " PROMPT   ":fixup(x).offset  = codeptr(PtrPROMPT)
  15. incr x:fixup(x).keyword = " INKEY    ":fixup(x).offset  = codeptr(PtrINKEY)
  16. incr x:fixup(x).keyword = " CALC     ":fixup(x).offset  = codeptr(PtrCALC)
  17. incr x:fixup(x).keyword = " EVAL     ":fixup(x).offset  = codeptr(PtrCALC)
  18. incr x:fixup(x).keyword = " SAME     ":fixup(x).offset  = codeptr(PtrEQUALS)
  19. incr x:fixup(x).keyword = " WHILE    ":fixup(x).offset  = codeptr(PtrWHILE)
  20. incr x:fixup(x).keyword = " UNTIL    ":fixup(x).offset  = codeptr(PtrUNTIL)
  21. incr x:fixup(x).keyword = " SET      ":fixup(x).offset  = codeptr(PtrLET)
  22. incr x:fixup(x).keyword = " LET      ":fixup(x).offset  = codeptr(PtrLET)
  23. incr x:fixup(x).keyword = " GOTO     ":fixup(x).offset  = codeptr(PtrGOTO)
  24. incr x:fixup(x).keyword = " GOSUB    ":fixup(x).offset  = codeptr(PtrGOSUB)
  25. incr x:fixup(x).keyword = " ENDCASE  ":fixup(x).offset  = codeptr(PtrENDIF):SymEndcase$=chr$(2)+ltrim$(str$(x))
  26. incr x:fixup(x).keyword = " ENDIF    ":fixup(x).offset  = codeptr(PtrENDIF):SymEndif$=chr$(2)+ltrim$(str$(x))
  27. incr x:fixup(x).keyword = " ELSE     ":fixup(x).offset  = codeptr(PtrELSE):SymElse$=chr$(2)+ltrim$(str$(x))
  28. incr x:fixup(x).keyword = " DECR     ":fixup(x).offset  = codeptr(PtrDECR)
  29. incr x:fixup(x).keyword = " COLOR    ":fixup(x).offset  = codeptr(PtrCOLOR)
  30. incr x:fixup(x).keyword = " CLS      ":fixup(x).offset  = codeptr(PtrCLS)
  31. incr x:fixup(x).keyword = " INPUT    ":fixup(x).offset  = codeptr(PtrINPUT)
  32. incr x:fixup(x).keyword = " YES      ":fixup(x).offset  = codeptr(PtrTRUE)
  33. incr x:fixup(x).keyword = " WRITE    ":fixup(x).offset  = codeptr(PtrWRITE)
  34. incr x:fixup(x).keyword = " WITH     ":fixup(x).offset  = codeptr(PtrFROM)
  35. incr x:fixup(x).keyword = " WHAT     ":fixup(x).offset  = codeptr(PtrCALC)
  36. incr x:fixup(x).keyword = " VIEW     ":fixup(x).offset  = codeptr(PtrVIEW)
  37. incr x:fixup(x).keyword = " VAL      ":fixup(x).offset  = codeptr(PtrVAL)
  38. incr x:fixup(x).keyword = " USING    ":fixup(x).offset  = codeptr(PtrUSING)
  39. incr x:fixup(x).keyword = " USE      ":fixup(x).offset  = codeptr(PtrUSE)
  40. incr x:fixup(x).keyword = " UPPER    ":fixup(x).offset  = codeptr(PtrUCASE)
  41. incr x:fixup(x).keyword = " UCASE    ":fixup(x).offset  = codeptr(PtrUCASE)
  42. incr x:fixup(x).keyword = " TYPE     ":fixup(x).offset  = codeptr(PtrTYPE)
  43. incr x:fixup(x).keyword = " TTY      ":fixup(x).offset  = codeptr(PtrTTY)
  44. incr x:fixup(x).keyword = " TRUE     ":fixup(x).offset  = codeptr(PtrTRUE)
  45. incr x:fixup(x).keyword = " TOP      ":fixup(x).offset  = codeptr(PtrTOP)
  46. incr x:fixup(x).keyword = " TO       ":fixup(x).offset  = codeptr(PtrFROM)
  47. incr x:fixup(x).keyword = " TIMEOUT  ":fixup(x).offset  = codeptr(PtrTIMEOUT)
  48. incr x:fixup(x).keyword = " TIME     ":fixup(x).offset  = codeptr(PtrTIME)
  49. incr x:fixup(x).keyword = " THEN     ":fixup(x).offset  = codeptr(PtrFROM)
  50. incr x:fixup(x).keyword = " THE      ":fixup(x).offset  = codeptr(PtrFROM)
  51. incr x:fixup(x).keyword = " TAGGED   ":fixup(x).offset  = codeptr(PtrTAGGED)
  52. incr x:fixup(x).keyword = " TAG      ":fixup(x).offset  = codeptr(PtrTAG)
  53. incr x:fixup(x).keyword = " TAB      ":fixup(x).offset  = codeptr(PtrTAB)
  54. incr x:fixup(x).keyword = " SUBSTR   ":fixup(x).offset  = codeptr(PtrMID)
  55. incr x:fixup(x).keyword = " SUBDIR   ":fixup(x).offset  = codeptr(PtrSUBDIR)
  56. incr x:fixup(x).keyword = " SKIP     ":fixup(x).offset  = codeptr(PtrSKIP)
  57. incr x:fixup(x).keyword = " SIZEOF   ":fixup(x).offset  = codeptr(PtrSIZEOF)
  58. incr x:fixup(x).keyword = " SETENV   ":fixup(x).offset  = codeptr(PtrSETENV)
  59. incr x:fixup(x).keyword = " SEND     ":fixup(x).offset  = codeptr(PtrSEND)
  60. incr x:fixup(x).keyword = " SAVE     ":fixup(x).offset  = codeptr(PtrSAVE)
  61. incr x:fixup(x).keyword = " RUN      ":fixup(x).offset  = codeptr(PtrRUN)
  62. incr x:fixup(x).keyword = " RTRIM    ":fixup(x).offset  = codeptr(PtrRTRIM)
  63. incr x:fixup(x).keyword = " ROW      ":fixup(x).offset  = codeptr(PtrROW)
  64. incr x:fixup(x).keyword = " RIGHT    ":fixup(x).offset  = codeptr(PtrRIGHT)
  65. incr x:fixup(x).keyword = " RETURN   ":fixup(x).offset  = codeptr(PtrRETURN)
  66. incr x:fixup(x).keyword = " RESUME   ":fixup(x).offset  = codeptr(PtrRESUME)
  67. incr x:fixup(x).keyword = " RESTART  ":fixup(x).offset  = codeptr(PtrRESTART)
  68. incr x:fixup(x).keyword = " REST     ":fixup(x).offset  = codeptr(PtrREST)
  69. incr x:fixup(x).keyword = " RESET    ":fixup(x).offset  = codeptr(PtrRESET)
  70. incr x:fixup(x).keyword = " RENAME   ":fixup(x).offset  = codeptr(PtrREN)
  71. incr x:fixup(x).keyword = " REN      ":fixup(x).offset  = codeptr(PtrREN)
  72. incr x:fixup(x).keyword = " REG      ":fixup(x).offset  = codeptr(PtrREG)
  73. incr x:fixup(x).keyword = " RECORD   ":fixup(x).offset  = codeptr(PtrFROM)
  74. incr x:fixup(x).keyword = " RECNUM   ":fixup(x).offset  = codeptr(PtrRECNUM)
  75. incr x:fixup(x).keyword = " RECNO    ":fixup(x).offset  = codeptr(PtrRECNUM)
  76. incr x:fixup(x).keyword = " READ     ":fixup(x).offset  = codeptr(PtrREAD)
  77. incr x:fixup(x).keyword = " RD       ":fixup(x).offset  = codeptr(PtrRD)
  78. incr x:fixup(x).keyword = " RAW      ":fixup(x).offset  = codeptr(PtrRAW)
  79. incr x:fixup(x).keyword = " RANDOM   ":fixup(x).offset  = codeptr(PtrRANDOM)
  80. incr x:fixup(x).keyword = " QUIT     ":fixup(x).offset  = codeptr(PtrQUIT)
  81. incr x:fixup(x).keyword = " PUTFILE  ":fixup(x).offset  = codeptr(PtrPUTFILE)
  82. incr x:fixup(x).keyword = " PUT      ":fixup(x).offset  = codeptr(PtrPUT)
  83. incr x:fixup(x).keyword = " PREVIOUS ":fixup(x).offset  = codeptr(PtrPREV)
  84. incr x:fixup(x).keyword = " PREV     ":fixup(x).offset  = codeptr(PtrPREV)
  85. incr x:fixup(x).keyword = " PORT     ":fixup(x).offset  = codeptr(PtrPORT)
  86. incr x:fixup(x).keyword = " PCBTYPE  ":fixup(x).offset  = codeptr(PtrPCBTYPE)
  87. incr x:fixup(x).keyword = " PARM     ":fixup(x).offset  = codeptr(PtrPARM)
  88. incr x:fixup(x).keyword = " OR       ":fixup(x).offset  = codeptr(PtrOR)
  89. incr x:fixup(x).keyword = " OPEN     ":fixup(x).offset  = codeptr(PtrOPEN)
  90. incr x:fixup(x).keyword = " ON       ":fixup(x).offset  = codeptr(PtrTRUE)
  91. incr x:fixup(x).keyword = " OLM      ":fixup(x).offset  = codeptr(PtrOLM)
  92. incr x:fixup(x).keyword = " OFIND    ":fixup(x).offset  = codeptr(PtrOFIND)
  93. incr x:fixup(x).keyword = " OFF      ":fixup(x).offset  = codeptr(PtrOFF)
  94. incr x:fixup(x).keyword = " OF       ":fixup(x).offset  = codeptr(PtrFROM)
  95. incr x:fixup(x).keyword = " NUMFLDS  ":fixup(x).offset  = codeptr(PtrNUMFIELDS)
  96. incr x:fixup(x).keyword = " NUMBER   ":fixup(x).offset  = codeptr(PtrFROM)
  97. incr x:fixup(x).keyword = " NUL      ":fixup(x).offset  = codeptr(PtrNUL)
  98. incr x:fixup(x).keyword = " NOT      ":fixup(x).offset  = codeptr(PtrNOT)
  99. incr x:fixup(x).keyword = " NO       ":fixup(x).offset  = codeptr(PtrFALSE)
  100. incr x:fixup(x).keyword = " NEXT     ":fixup(x).offset  = codeptr(PtrNEXT)
  101. incr x:fixup(x).keyword = " NEITHER  ":fixup(x).offset  = codeptr(PtrNEITHER)
  102. incr x:fixup(x).keyword = " NEG      ":fixup(x).offset  = codeptr(PtrNEG)
  103. incr x:fixup(x).keyword = " MORE     ":fixup(x).offset  = codeptr(PtrMORE)
  104. incr x:fixup(x).keyword = " MKDIR    ":fixup(x).offset  = codeptr(PtrMD)
  105. incr x:fixup(x).keyword = " MINUS    ":fixup(x).offset  = codeptr(PtrNEG)
  106. incr x:fixup(x).keyword = " MID      ":fixup(x).offset  = codeptr(PtrMID)
  107. incr x:fixup(x).keyword = " MENU     ":fixup(x).offset  = codeptr(PtrMENU)
  108. incr x:fixup(x).keyword = " MD       ":fixup(x).offset  = codeptr(PtrMD)
  109. incr x:fixup(x).keyword = " MAPPED   ":fixup(x).offset  = codeptr(PtrMAPPED)
  110. incr x:fixup(x).keyword = " MAP      ":fixup(x).offset  = codeptr(PtrMAP)
  111. incr x:fixup(x).keyword = " LTRIM    ":fixup(x).offset  = codeptr(PtrLTRIM)
  112. incr x:fixup(x).keyword = " LOWER    ":fixup(x).offset  = codeptr(PtrLCASE)
  113. incr x:fixup(x).keyword = " LOOKUP   ":fixup(x).offset  = codeptr(PtrLOOKUP)
  114. incr x:fixup(x).keyword = " LOGOUT   ":fixup(x).offset  = codeptr(PtrLOGOUT)
  115. incr x:fixup(x).keyword = " LOF      ":fixup(x).offset  = codeptr(PtrLOF)
  116. incr x:fixup(x).keyword = " LOCATE   ":fixup(x).offset  = codeptr(PtrLOCATE)
  117. incr x:fixup(x).keyword = " LOAD     ":fixup(x).offset  = codeptr(PtrLOAD)
  118. incr x:fixup(x).keyword = " LINE     ":fixup(x).offset  = codeptr(PtrLINE)
  119. incr x:fixup(x).keyword = " LEN      ":fixup(x).offset  = codeptr(PtrLEN)
  120. incr x:fixup(x).keyword = " LEFT     ":fixup(x).offset  = codeptr(PtrLEFT)
  121. incr x:fixup(x).keyword = " LCASE    ":fixup(x).offset  = codeptr(PtrLCASE)
  122. incr x:fixup(x).keyword = " LAST     ":fixup(x).offset  = codeptr(PtrBOTTOM)
  123. incr x:fixup(x).keyword = " PRUN     ":fixup(x).offset  = codeptr(PtrPRUN)
  124. incr x:fixup(x).keyword = " IXWAS    ":fixup(x).offset  = codeptr(PtrIXWAS)
  125. incr x:fixup(x).keyword = " IXUPDATE ":fixup(x).offset  = codeptr(PtrIXUPDATE)
  126. incr x:fixup(x).keyword = " IXTOP    ":fixup(x).offset  = codeptr(PtrIXTOP)
  127. incr x:fixup(x).keyword = " IXSTITCH ":fixup(x).offset  = codeptr(PtrIXSTITCH)
  128. incr x:fixup(x).keyword = " IXSKIP   ":fixup(x).offset  = codeptr(PtrIXSKIP)
  129. incr x:fixup(x).keyword = " IXSCAN   ":fixup(x).offset  = codeptr(PtrIXSCAN)
  130. incr x:fixup(x).keyword = " IXRESORT ":fixup(x).offset  = codeptr(PtrIXRESORT)
  131. incr x:fixup(x).keyword = " IXPREV   ":fixup(x).offset  = codeptr(PtrIXPREV)
  132. incr x:fixup(x).keyword = " IXOPEN   ":fixup(x).offset  = codeptr(PtrIXOPEN)
  133. incr x:fixup(x).keyword = " IXNEXT   ":fixup(x).offset  = codeptr(PtrIXNEXT)
  134. incr x:fixup(x).keyword = " IXLAST   ":fixup(x).offset  = codeptr(PtrIXBOTTOM)
  135. incr x:fixup(x).keyword = " IXFIRST  ":fixup(x).offset  = codeptr(PtrIXTOP)
  136. incr x:fixup(x).keyword = " IXFIND   ":fixup(x).offset  = codeptr(PtrIXFIND)
  137. incr x:fixup(x).keyword = " IXEOF    ":fixup(x).offset  = codeptr(PtrIXEOF)
  138. incr x:fixup(x).keyword = " IXDELETE ":fixup(x).offset  = codeptr(PtrIXDELETE)
  139. incr x:fixup(x).keyword = " IXCREATE ":fixup(x).offset  = codeptr(PtrIXCREATE)
  140. incr x:fixup(x).keyword = " IXCLOSE  ":fixup(x).offset  = codeptr(PtrIXCLOSE)
  141. incr x:fixup(x).keyword = " IXBOTTOM ":fixup(x).offset  = codeptr(PtrIXBOTTOM)
  142. incr x:fixup(x).keyword = " IXBOF    ":fixup(x).offset  = codeptr(PtrIXBOF)
  143. incr x:fixup(x).keyword = " IX       ":fixup(x).offset  = codeptr(PtrIX)
  144. incr x:fixup(x).keyword = " ITEM     ":fixup(x).offset  = codeptr(PtrITEM)
  145. incr x:fixup(x).keyword = " ISOPEN   ":fixup(x).offset  = codeptr(PtrISOPEN)
  146. incr x:fixup(x).keyword = " IS       ":fixup(x).offset  = codeptr(PtrFROM)
  147. incr x:fixup(x).keyword = " INSTR    ":fixup(x).offset  = codeptr(PtrINSTR)
  148. incr x:fixup(x).keyword = " INSIDE   ":fixup(x).offset  = codeptr(PtrINSIDE)
  149. incr x:fixup(x).keyword = " INDEXFIL ":fixup(x).offset  = codeptr(PtrINDEXFILE)
  150. incr x:fixup(x).keyword = " INDEXFLD ":fixup(x).offset  = codeptr(PtrINDEXFIELD)
  151. incr x:fixup(x).keyword = " INDEX    ":fixup(x).offset  = codeptr(PtrINDEX)
  152. incr x:fixup(x).keyword = " IN       ":fixup(x).offset  = codeptr(PtrFROM)
  153. incr x:fixup(x).keyword = " HOME     ":fixup(x).offset  = codeptr(PtrHOME)
  154. incr x:fixup(x).keyword = " GO       ":fixup(x).offset  = codeptr(PtrGO)
  155. incr x:fixup(x).keyword = " GLOBAL   ":fixup(x).offset  = codeptr(PtrGLOBAL)
  156. incr x:fixup(x).keyword = " GETTAG   ":fixup(x).offset  = codeptr(PtrGETTAG)
  157. incr x:fixup(x).keyword = " GETCOMM  ":fixup(x).offset  = codeptr(PtrGETCOMMENT)
  158. incr x:fixup(x).keyword = " GET      ":fixup(x).offset  = codeptr(PtrGET)
  159. incr x:fixup(x).keyword = " FROM     ":fixup(x).offset  = codeptr(PtrFROM)
  160. incr x:fixup(x).keyword = " FREEFILE ":fixup(x).offset  = codeptr(PtrFREEFILE)
  161. incr x:fixup(x).keyword = " FORMAT   ":fixup(x).offset  = codeptr(PtrFORMAT)
  162. incr x:fixup(x).keyword = " FLIP     ":fixup(x).offset  = codeptr(PtrFLIP)
  163. incr x:fixup(x).keyword = " FIX      ":fixup(x).offset  = codeptr(PtrFIX)
  164. incr x:fixup(x).keyword = " FIRST    ":fixup(x).offset  = codeptr(PtrTOP)
  165. incr x:fixup(x).keyword = " FINISHED ":fixup(x).offset  = codeptr(PtrFINISHED)
  166. incr x:fixup(x).keyword = " FIND     ":fixup(x).offset  = codeptr(PtrFIND)
  167. incr x:fixup(x).keyword = " FILES    ":fixup(x).offset  = codeptr(PtrFILES)
  168. incr x:fixup(x).keyword = " FILE     ":fixup(x).offset  = codeptr(PtrFILE)
  169. incr x:fixup(x).keyword = " FIELD    ":fixup(x).offset  = codeptr(PtrFIELD)
  170. incr x:fixup(x).keyword = " FALSE    ":fixup(x).offset  = codeptr(PtrFALSE)
  171. incr x:fixup(x).keyword = " EXT      ":fixup(x).offset  = codeptr(PtrEXTENSION)
  172. incr x:fixup(x).keyword = " EXIT     ":fixup(x).offset  = codeptr(PtrEXIT)
  173. incr x:fixup(x).keyword = " EXIST    ":fixup(x).offset  = codeptr(PtrEXIST)
  174. incr x:fixup(x).keyword = " EXECUTE  ":fixup(x).offset  = codeptr(PtrEXECUTE)
  175. incr x:fixup(x).keyword = " EQUALS   ":fixup(x).offset  = codeptr(PtrEQUALS)
  176. incr x:fixup(x).keyword = " EQUAL    ":fixup(x).offset  = codeptr(PtrFROM)
  177. incr x:fixup(x).keyword = " EOF      ":fixup(x).offset  = codeptr(PtrEOF)
  178. incr x:fixup(x).keyword = " ENVIRON  ":fixup(x).offset  = codeptr(PtrENVIRON)
  179. incr x:fixup(x).keyword = " ENDTYPE  ":fixup(x).offset  = codeptr(PtrENDTYPE)
  180. incr x:fixup(x).keyword = " END      ":fixup(x).offset  = codeptr(PtrEND)
  181. incr x:fixup(x).keyword = " EITHER   ":fixup(x).offset  = codeptr(PtrEITHER)
  182. incr x:fixup(x).keyword = " EFFECT   ":fixup(x).offset  = codeptr(PtrEFFECT)
  183. incr x:fixup(x).keyword = " EDLIN    ":fixup(x).offset  = codeptr(PtrEDLIN)
  184. incr x:fixup(x).keyword = " EDITCOMM ":fixup(x).offset  = codeptr(PtrEDITCOMMENT)
  185. incr x:fixup(x).keyword = " EDIT     ":fixup(x).offset  = codeptr(PtrEDIT)
  186. incr x:fixup(x).keyword = " ECHO     ":fixup(x).offset  = codeptr(PtrECHO)
  187. incr x:fixup(x).keyword = " DUP      ":fixup(x).offset  = codeptr(PtrDUP)
  188. incr x:fixup(x).keyword = " DOOR     ":fixup(x).offset  = codeptr(PtrDOOR)
  189. incr x:fixup(x).keyword = " DOES     ":fixup(x).offset  = codeptr(PtrCALC)
  190. incr x:fixup(x).keyword = " DISPLAY  ":fixup(x).offset  = codeptr(PtrDISPLAY)
  191. incr x:fixup(x).keyword = " DISK     ":fixup(x).offset  = codeptr(PtrFROM)
  192. incr x:fixup(x).keyword = " DISCON   ":fixup(x).offset  = codeptr(PtrDISCONNECT)
  193. incr x:fixup(x).keyword = " DIR      ":fixup(x).offset  = codeptr(PtrDIR)
  194. incr x:fixup(x).keyword = " DEVOTE   ":fixup(x).offset  = codeptr(PtrDEVOTE)
  195. incr x:fixup(x).keyword = " DEPTH    ":fixup(x).offset  = codeptr(PtrDEPTH)
  196. incr x:fixup(x).keyword = " DELIMIT  ":fixup(x).offset  = codeptr(PtrDELIMITED)
  197. incr x:fixup(x).keyword = " DELAY    ":fixup(x).offset  = codeptr(PtrDELAY)
  198. incr x:fixup(x).keyword = " DEL      ":fixup(x).offset  = codeptr(PtrDEL)
  199. incr x:fixup(x).keyword = " DBEND    ":fixup(x).offset  = codeptr(PtrDBEND)
  200. incr x:fixup(x).keyword = " DATE     ":fixup(x).offset  = codeptr(PtrDATE)
  201. incr x:fixup(x).keyword = " DATABASE ":fixup(x).offset  = codeptr(PtrFROM)
  202. incr x:fixup(x).keyword = " CWAIT    ":fixup(x).offset  = codeptr(PtrCWAIT)
  203. incr x:fixup(x).keyword = " CREATEI  ":fixup(x).offset  = codeptr(PtrCREATEINDEX)
  204. incr x:fixup(x).keyword = " CREATEF  ":fixup(x).offset  = codeptr(PtrCREATEFORMAT)
  205. incr x:fixup(x).keyword = " CRC      ":fixup(x).offset  = codeptr(PtrCRC)
  206. incr x:fixup(x).keyword = " CR       ":fixup(x).offset  = codeptr(PtrCR)
  207. incr x:fixup(x).keyword = " COUNT    ":fixup(x).offset  = codeptr(PtrCOUNT)
  208. incr x:fixup(x).keyword = " CONNECT  ":fixup(x).offset  = codeptr(PtrCONNECT)
  209. incr x:fixup(x).keyword = " CONFIG   ":fixup(x).offset  = codeptr(PtrCONFIG)
  210. incr x:fixup(x).keyword = " CONF     ":fixup(x).offset  = codeptr(PtrCONFERENCE)
  211. incr x:fixup(x).keyword = " COMMON   ":fixup(x).offset  = codeptr(PtrCOMMON)
  212. incr x:fixup(x).keyword = " COL      ":fixup(x).offset  = codeptr(PtrCOL)
  213. incr x:fixup(x).keyword = " CLOSE    ":fixup(x).offset  = codeptr(PtrCLOSE)
  214. incr x:fixup(x).keyword = " CLEAR    ":fixup(x).offset  = codeptr(PtrCLEAR)
  215. incr x:fixup(x).keyword = " CHR      ":fixup(x).offset  = codeptr(PtrCHR)
  216. incr x:fixup(x).keyword = " CHDIR    ":fixup(x).offset  = codeptr(PtrCD)
  217. incr x:fixup(x).keyword = " CHAT     ":fixup(x).offset  = codeptr(PtrCHAT)
  218. incr x:fixup(x).keyword = " CD       ":fixup(x).offset  = codeptr(PtrCD)
  219. incr x:fixup(x).keyword = " CASE     ":fixup(x).offset  = codeptr(PtrCASE)
  220. incr x:fixup(x).keyword = " CAPS     ":fixup(x).offset  = codeptr(PtrCAPS)
  221. incr x:fixup(x).keyword = " CALL     ":fixup(x).offset  = codeptr(PtrCALL)
  222. incr x:fixup(x).keyword = " BOTTOM   ":fixup(x).offset  = codeptr(PtrBOTTOM)
  223. incr x:fixup(x).keyword = " BOTH     ":fixup(x).offset  = codeptr(PtrBOTH)
  224. incr x:fixup(x).keyword = " BE       ":fixup(x).offset  = codeptr(PtrFROM)
  225. incr x:fixup(x).keyword = " BAUD     ":fixup(x).offset  = codeptr(PtrBAUD)
  226. incr x:fixup(x).keyword = " AUTOEDIT ":fixup(x).offset  = codeptr(PtrAUTOEDIT)
  227. incr x:fixup(x).keyword = " AT       ":fixup(x).offset  = codeptr(PtrFROM)
  228. incr x:fixup(x).keyword = " ASK      ":fixup(x).offset  = codeptr(PtrASK)
  229. incr x:fixup(x).keyword = " ASCII    ":fixup(x).offset  = codeptr(PtrASC)
  230. incr x:fixup(x).keyword = " ASC      ":fixup(x).offset  = codeptr(PtrASC)
  231. incr x:fixup(x).keyword = " AS       ":fixup(x).offset  = codeptr(PtrFROM)
  232. incr x:fixup(x).keyword = " APPEND   ":fixup(x).offset  = codeptr(PtrAPPEND)
  233. incr x:fixup(x).keyword = " ANSWER   ":fixup(x).offset  = codeptr(PtrANSWER)
  234. incr x:fixup(x).keyword = " ANSI     ":fixup(x).offset  = codeptr(PtrANSI)
  235. incr x:fixup(x).keyword = " AND      ":fixup(x).offset  = codeptr(PtrAND)
  236. incr x:fixup(x).keyword = " ALL      ":fixup(x).offset  = codeptr(PtrALL)
  237. incr x:fixup(x).keyword = " XMODEM   ":fixup(x).offset  = codeptr(PtrXMODEM)
  238. incr x:fixup(x).keyword = " XMENU    ":fixup(x).offset  = codeptr(PtrXMENU)
  239. incr x:fixup(x).keyword = " WINDOW   ":fixup(x).offset  = codeptr(PtrWINDOW)
  240. incr x:fixup(x).keyword = " UNLOCK   ":fixup(x).offset  = codeptr(PtrUNLOCK)
  241. incr x:fixup(x).keyword = " TRON     ":fixup(x).offset  = codeptr(PtrTRON)
  242. incr x:fixup(x).keyword = " TROFF    ":fixup(x).offset  = codeptr(PtrTROFF)
  243. incr x:fixup(x).keyword = " TASK     ":fixup(x).offset  = codeptr(PtrTASK)
  244. incr x:fixup(x).keyword = " SUSPEND  ":fixup(x).offset  = codeptr(PtrSUSPEND)
  245. incr x:fixup(x).keyword = " STATUS   ":fixup(x).offset  = codeptr(PtrSTATUS)
  246. incr x:fixup(x).keyword = " SIGNAL   ":fixup(x).offset  = codeptr(PtrSIGNAL)
  247. incr x:fixup(x).keyword = " SETPRMPT ":fixup(x).offset  = codeptr(PtrSETPROMPT)
  248. incr x:fixup(x).keyword = " ABS       ":fixup(x).offset  = codeptr(PtrABS)
  249. incr x:fixup(x).keyword = " OSKIP    ":fixup(x).offset  = codeptr(PtrOSKIP)
  250. incr x:fixup(x).keyword = " ONLOGOUT ":fixup(x).offset  = codeptr(PtrONLOGOUT)
  251. incr x:fixup(x).keyword = " ONERROR  ":fixup(x).offset  = codeptr(PtrONERROR)
  252. incr x:fixup(x).keyword = " MENUCLR  ":fixup(x).offset  = codeptr(PtrMENUCOLOR)
  253. incr x:fixup(x).keyword = " LOCK     ":fixup(x).offset  = codeptr(PtrLOCK)
  254. incr x:fixup(x).keyword = " LIST     ":fixup(x).offset  = codeptr(PtrLIST)
  255. incr x:fixup(x).keyword = " KILLTASK ":fixup(x).offset  = codeptr(PtrKILLTASK)
  256. incr x:fixup(x).keyword = " INT      ":fixup(x).offset  = codeptr(PtrINT)
  257. incr x:fixup(x).keyword = " GOD      ":fixup(x).offset  = codeptr(PtrGOD)
  258. incr x:fixup(x).keyword = " FREETASK ":fixup(x).offset  = codeptr(PtrFREETASK)
  259. incr x:fixup(x).keyword = " ERRORMSG ":fixup(x).offset  = codeptr(PtrERRORMSG)
  260. incr x:fixup(x).keyword = " PREP     ":fixup(x).offset  = codeptr(PtrPREP)
  261. incr x:fixup(x).keyword = " PLOAD    ":fixup(x).offset  = codeptr(PtrPLOAD)
  262. incr x:fixup(x).keyword = " XSAVE    ":fixup(x).offset  = codeptr(PtrXSAVE)
  263. incr x:fixup(x).keyword = " XLOAD    ":fixup(x).offset  = codeptr(PtrXLOAD)
  264. incr x:fixup(x).keyword = " ELIZA    ":fixup(x).offset  = codeptr(PtrELIZA)
  265. incr x:fixup(x).keyword = " DO       ":fixup(x).offset  = codeptr(PtrDO)
  266.  
  267. $IF NOT %NORIP ' RIP commands
  268. incr x:fixup(x).keyword = " TEXTWIN  ":fixup(x).offset  = codeptr(PtrRIP.TEXT.WINDOW)
  269. incr x:fixup(x).keyword = " VIEWPORT ":fixup(x).offset  = codeptr(PtrRIP.VIEWPORT)
  270. incr x:fixup(x).keyword = " RESETWIN ":fixup(x).offset  = codeptr(PtrRIP.RESET.WINDOWS)
  271. incr x:fixup(x).keyword = " ERASEWIN ":fixup(x).offset  = codeptr(PtrRIP.ERASE.WINDOW)
  272. incr x:fixup(x).keyword = " ERASEVW  ":fixup(x).offset  = codeptr(PtrRIP.ERASE.VIEW)
  273. incr x:fixup(x).keyword = " GOTOXY   ":fixup(x).offset  = codeptr(PtrRIP.GOTOXY)
  274. incr x:fixup(x).keyword = " RIPHOME  ":fixup(x).offset  = codeptr(PtrRIP.HOME)
  275. incr x:fixup(x).keyword = " ERASEEOL ":fixup(x).offset  = codeptr(PtrRIP.ERASE.EOL)
  276. incr x:fixup(x).keyword = " RIPCOLOR ":fixup(x).offset  = codeptr(PtrRIP.COLOR)
  277. incr x:fixup(x).keyword = " SETPAL   ":fixup(x).offset  = codeptr(PtrRIP.SET.PALETTE)
  278. incr x:fixup(x).keyword = " ONEPAL   ":fixup(x).offset  = codeptr(PtrRIP.ONE.PALETTE)
  279. incr x:fixup(x).keyword = " WRITMODE ":fixup(x).offset  = codeptr(PtrRIP.WRITE.MODE)
  280. incr x:fixup(x).keyword = " RIPMOVE  ":fixup(x).offset  = codeptr(PtrRIP.MOVE)
  281. incr x:fixup(x).keyword = " RIPTEXT  ":fixup(x).offset  = codeptr(PtrRIP.TEXT)
  282. incr x:fixup(x).keyword = " TEXTXY   ":fixup(x).offset  = codeptr(PtrRIP.TEXT.XY)
  283. incr x:fixup(x).keyword = " FONTSTYL ":fixup(x).offset  = codeptr(PtrRIP.FONT.STYLE)
  284. incr x:fixup(x).keyword = " PIXEL    ":fixup(x).offset  = codeptr(PtrRIP.PIXEL)
  285. incr x:fixup(x).keyword = " RIPLINE  ":fixup(x).offset  = codeptr(PtrRIP.LINE)
  286. incr x:fixup(x).keyword = " RECTANGL ":fixup(x).offset  = codeptr(PtrRIP.RECTANGLE)
  287. incr x:fixup(x).keyword = " RIPBAR   ":fixup(x).offset  = codeptr(PtrRIP.BAR)
  288. incr x:fixup(x).keyword = " CIRCLE   ":fixup(x).offset  = codeptr(PtrRIP.CIRCLE)
  289. incr x:fixup(x).keyword = " OVAL     ":fixup(x).offset  = codeptr(PtrRIP.OVAL)
  290. incr x:fixup(x).keyword = " FILDOVAL ":fixup(x).offset  = codeptr(PtrRIP.FILLED.OVAL)
  291. incr x:fixup(x).keyword = " ARC      ":fixup(x).offset  = codeptr(PtrRIP.ARC)
  292. incr x:fixup(x).keyword = " OVALARC  ":fixup(x).offset  = codeptr(PtrRIP.OVAL.ARC)
  293. incr x:fixup(x).keyword = " PIESLICE ":fixup(x).offset  = codeptr(PtrRIP.PIE.SLICE)
  294. incr x:fixup(x).keyword = " OPIESLIC ":fixup(x).offset  = codeptr(PtrRIP.OVAL.PIE.SLICE)
  295. incr x:fixup(x).keyword = " BEZIER   ":fixup(x).offset  = codeptr(PtrRIP.BEZIER)
  296. incr x:fixup(x).keyword = " RIPFILL  ":fixup(x).offset  = codeptr(PtrRIP.FILL)
  297. incr x:fixup(x).keyword = " LINESTYL ":fixup(x).offset  = codeptr(PtrRIP.LINE.STYLE)
  298. incr x:fixup(x).keyword = " FILLSTYL ":fixup(x).offset  = codeptr(PtrRIP.FILL.STYLE)
  299. incr x:fixup(x).keyword = " FILLPATT ":fixup(x).offset  = codeptr(PtrRIP.FILL.PATTERN)
  300. incr x:fixup(x).keyword = " MOUSE    ":fixup(x).offset  = codeptr(PtrRIP.MOUSE)
  301. incr x:fixup(x).keyword = " KILLFLDS ":fixup(x).offset  = codeptr(PtrRIP.KILL.MOUSE.FIELDS)
  302. incr x:fixup(x).keyword = " BEGINTX  ":fixup(x).offset  = codeptr(PtrRIP.BEGIN.TEXT)
  303. incr x:fixup(x).keyword = " REGIONTX ":fixup(x).offset  = codeptr(PtrRIP.REGION.TEXT)
  304. incr x:fixup(x).keyword = " ENDTX    ":fixup(x).offset  = codeptr(PtrRIP.END.TEXT)
  305. incr x:fixup(x).keyword = " GETIMAGE ":fixup(x).offset  = codeptr(PtrRIP.GET.IMAGE)
  306. incr x:fixup(x).keyword = " PUTIMAGE ":fixup(x).offset  = codeptr(PtrRIP.PUT.IMAGE)
  307. incr x:fixup(x).keyword = " WRITEICO ":fixup(x).offset  = codeptr(PtrRIP.WRITE.ICON)
  308. incr x:fixup(x).keyword = " LOADICO  ":fixup(x).offset  = codeptr(PtrRIP.LOAD.ICON)
  309. incr x:fixup(x).keyword = " BTTNSTYL ":fixup(x).offset  = codeptr(PtrRIP.BUTTON.STYLE)
  310. incr x:fixup(x).keyword = " BUTTON   ":fixup(x).offset  = codeptr(PtrRIP.BUTTON)
  311. incr x:fixup(x).keyword = " DEFINE   ":fixup(x).offset  = codeptr(PtrRIP.DEFINE)
  312. incr x:fixup(x).keyword = " COPYREGN ":fixup(x).offset  = codeptr(PtrRIP.COPY.REGION)
  313. incr x:fixup(x).keyword = " READSCEN ":fixup(x).offset  = codeptr(PtrRIP.READ.SCENE)
  314. incr x:fixup(x).keyword = " FILQUERY ":fixup(x).offset  = codeptr(PtrRIP.FILE.QUERY)
  315. incr x:fixup(x).keyword = " NOMORE   ":fixup(x).offset  = codeptr(PtrRIP.NO.MORE)
  316. incr x:fixup(x).keyword = " RIPQUERY ":fixup(x).offset  = codeptr(PtrRIP.QUERY)
  317. incr x:fixup(x).keyword = " ENTBLKMD ":fixup(x).offset  = codeptr(PtrRIP.ENTER.BLOCK.MODE)
  318. incr x:fixup(x).keyword = " POLYGON  ":fixup(x).offset  = codeptr(PtrRIP.POLYGON)
  319. incr x:fixup(x).keyword = " FILLPOLY ":fixup(x).offset  = codeptr(PtrRIP.FILL.POLYGON)
  320. incr x:fixup(x).keyword = " POLYLINE ":fixup(x).offset  = codeptr(PtrRIP.POLYLINE)
  321. incr x:fixup(x).keyword = " RIPVER   ":fixup(x).offset  = codeptr(PtrRIP.VER)
  322. $ENDIF