ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

480 lines
20 KiB

  1. /***************************************************************
  2. bwb_mes.h Header File for Natural-Language-Specific
  3. Text Messages for Bywater BASIC Interpreter
  4. Copyright (c) 1993, Ted A. Campbell
  5. Bywater Software
  6. email: tcamp@delphi.com
  7. Copyright and Permissions Information:
  8. All U.S. and international rights are claimed by the author,
  9. Ted A. Campbell.
  10. This software is released under the terms of the GNU General
  11. Public License (GPL), which is distributed with this software
  12. in the file "COPYING". The GPL specifies the terms under
  13. which users may copy and use the software in this distribution.
  14. A separate license is available for commercial distribution,
  15. for information on which you should contact the author.
  16. ***************************************************************/
  17. /*---------------------------------------------------------------*/
  18. /* NOTE: Modifications marked "JBV" were made by Jon B. Volkoff, */
  19. /* 11/1995 (eidetics@cerf.net). */
  20. /*---------------------------------------------------------------*/
  21. #ifndef TRUE
  22. #define TRUE 1
  23. #define FALSE 0
  24. #endif
  25. /****************************************************************
  26. The following Latin conventions are used:
  27. LATIN ENGLISH
  28. acies datorum array (of data)
  29. crusta shell
  30. litteras (character) string
  31. memoria mutabilis RAM
  32. organum device
  33. ordo line
  34. praeceptum command
  35. praecepta program (commands)
  36. praecepta interna operating system
  37. praeceptellum function
  38. tabula file
  39. ****************************************************************/
  40. #if LATIN
  41. #define MES_SIGNON "Interpres <Super Flumina> ad linguam BASIC, versionis"
  42. #define MES_COPYRIGHT "Iure proprio scriptoris (c) 1993, Eduardi de Campobello"
  43. #define MES_LANGUAGE "Cum nuntiis latinis ab ipso E. de C."
  44. #define PROMPT "bwBASIC: "
  45. #define ERROR_HEADER "ERRANT praecepta in ordine"
  46. #define ERRD_HEADER "ERRANT praecepta"
  47. #define MATHERR_HEADER "ERRANT praecepta"
  48. #define MES_BREAK "Intermittuntur praecepta in ordine"
  49. #define ERR_OPENFILE "Non patet tabula quod <%s> vocatur"
  50. #define ERR_GETMEM "Deest memoria mutabilis"
  51. #define ERR_LINENO "Non adicitur novus ordo praeceptorum"
  52. #define ERR_LNNOTFOUND "Non invenitur ordo praeceptorum <%d>"
  53. #define ERR_LOADNOFN "LOAD requirit nomen ad tabulam"
  54. #define ERR_NOLN "Non invenitur ordo praeceptorum"
  55. #define ERR_NOFN "Non invenitur nomen ad tabulam"
  56. #define ERR_RETNOGOSUB "RETURN sine GOSUB"
  57. #define ERR_INCOMPLETE "Praeceptum imcompletum"
  58. #define ERR_ONNOGOTO "ON sine GOTO sive GOSUB"
  59. #define ERR_VALOORANGE "Numerus in praeceptis excedit fines"
  60. #define ERR_SYNTAX "Non sequunter praecepta"
  61. #define ERR_DEVNUM "Numerus ad organum invalidum est"
  62. #define ERR_DEV "Errat organum"
  63. #define ERR_OPSYS "Errant praecepta interna"
  64. #define ERR_ARGSTR "Praeceptum requirit litteras"
  65. #define ERR_DEFCHAR "ad varium definiendum"
  66. #define ERR_MISMATCH "Non congruunt typus"
  67. #define ERR_DIMNOTARRAY "Praeceptum requirit nomen ad aciem datorum"
  68. #define ERR_OD "Desunt data"
  69. #define ERR_OVERFLOW "Data excedunt fines"
  70. #define ERR_NF "NEXT sine FOR"
  71. #define ERR_UF "Non definitur praeceptellum"
  72. #define ERR_DBZ "Non licet divisio ab nihilo"
  73. #define ERR_REDIM "Non licet varium iterum definiendum"
  74. #define ERR_OBDIM "Debet OPTION BASE procedere DIM"
  75. #define ERR_UC "Praeceptum incognitum est"
  76. #define ERR_NOPROGFILE "Tabula praeceptorum non invenitur"
  77. #endif
  78. #if POL_ENGLISH
  79. #define MES_SIGNON "Bywater BASIC Interpreter/Shell, version"
  80. #define MES_COPYRIGHT "Copyright (c) 1993, Ted A. Campbell"
  81. #define MES_LANGUAGE "Polite English messages courtesy of t.a.c."
  82. #define PROMPT "How may we help you? "
  83. #define ERROR_HEADER "Very sorry. There is a problem in line"
  84. #define ERRD_HEADER "Very sorry. There is a problem"
  85. #define MATHERR_HEADER "We have a small problem"
  86. #define MES_BREAK "At your request, the program has been interrupted at line"
  87. #define ERR_OPENFILE "I'm afraid we have failed \nto open file %s."
  88. #define ERR_GETMEM "I'm afraid we have failed \nto find sufficient memory."
  89. #define ERR_LINENO "I'm afraid we have failed \nto link line number."
  90. #define ERR_LNNOTFOUND "I'm afraid that we \ncannot find line number %d."
  91. #define ERR_LOADNOFN "Could you perhaps specify \nwhich file you wish to be loaded?"
  92. #define ERR_NOLN "It would help greatly \nif there were a line number here."
  93. #define ERR_NOFN "It would help greatly \nif there were a file name here."
  94. #define ERR_RETNOGOSUB "Is it possible \nthat there is a RETURN without a GOSUB here?"
  95. #define ERR_INCOMPLETE "I'm afraid that the statement\nappears to be incomplete."
  96. #define ERR_ONNOGOTO "It appears that there is an ON \nwithout a corresponding GOTO or GOSUB statement."
  97. #define ERR_VALOORANGE "A value given here \nseems to be out of range."
  98. #define ERR_SYNTAX "Could it be \nthat there is a syntax error at this point?"
  99. #define ERR_DEVNUM "The device or file \nnumber here does not seem to be correct."
  100. #define ERR_DEV "There appears \nto have been an error addressing the file or device \nwhich you requested."
  101. #define ERR_OPSYS "A most unfortunate error \nseems to have been generated by the computer's operating system."
  102. #define ERR_ARGSTR "Could you perhaps \nsupply a string argument at this point?"
  103. #define ERR_DEFCHAR "The variable definition \nat this point appears to have an improper argument."
  104. #define ERR_MISMATCH "It would appear \nthat something in this statement is rather seriously mismatched."
  105. #define ERR_DIMNOTARRAY "Could you perhaps \nsupply an array name for the argument at this point?"
  106. #define ERR_OD "Oh dear, we seem to have no more data to read now."
  107. #define ERR_OVERFLOW "Subhuman devices \ndo have their limits, and we're afraid that at this point \nthe limits of Bywater BASIC have been exceeded."
  108. #define ERR_NF "There seems to be \na NEXT statement without a corresponding FOR statement. Could you check on it?"
  109. #define ERR_UF "It would appear \nthat the function named at this point has not been defined."
  110. #define ERR_DBZ "Unfortunately, \ndivision by zero can cause dreadful problems in a computer."
  111. #define ERR_REDIM "We're very sorry \nto say that a variable such as this cannot be redimensioned."
  112. #define ERR_OBDIM "It would be ever so helpful \nif the OPTION BASE statement were to be called prior to the DIM statement."
  113. #define ERR_UC "I'm afraid that \nwe are unable to recognize the command you have given here."
  114. #define ERR_NOPROGFILE "Very sorry, but \nwe simply must have a program file to interpret."
  115. #endif
  116. #if IMP_ENGLISH
  117. #define MES_SIGNON "Bywater BASIC Interpreter/Shell, version"
  118. #define MES_COPYRIGHT "Watch it: Copyright (c) 1993, Ted A. Campbell"
  119. #define MES_LANGUAGE "Impolite English messages courtesy of Oscar the Grouch"
  120. #define PROMPT "(*sigh) What now? "
  121. #define ERROR_HEADER "YOU SCREWED UP at line"
  122. #define ERRD_HEADER "YOU SCREWED UP"
  123. #define MATHERR_HEADER "ANOTHER SCREWUP!"
  124. #define MES_BREAK "Only a geek like you would interrupt this program at line"
  125. #define ERR_OPENFILE "Ha ha! I can't open file %s. Too bad, sucker."
  126. #define ERR_GETMEM "There isn't near enough memory \nfor this lunacy."
  127. #define ERR_LINENO "You jerk: \nyou entered a non-existent line number."
  128. #define ERR_LNNOTFOUND "You total idiot. \nLine number %d isn't there. HA!"
  129. #define ERR_LOADNOFN "Get out of here. \nNo way to load that file."
  130. #define ERR_NOLN "Dumb bozo: you need to put \na LINE NUMBER here. Hint: Can you count?"
  131. #define ERR_NOFN "Nerd of the year. \nYou forgot to enter a file name. \nWhy don't you learn BASIC and come back in a year?"
  132. #define ERR_RETNOGOSUB "Oh come on, total amateur. \nYou've got a RETURN without a GOSUB"
  133. #define ERR_INCOMPLETE "Dimwit. Why don't you \ncomplete the statement here for a change."
  134. #define ERR_ONNOGOTO "You failed again: \nON without a GOTO or GOSUB."
  135. #define ERR_VALOORANGE "Go home, beginner. \nThe value here is way out of range."
  136. #define ERR_SYNTAX "Sure sign of a fourth-rate programmer: \nThis makes no sense at all."
  137. #define ERR_DEVNUM "Way to go, space cadet. \nThe device (or file) number here is totally in orbit."
  138. #define ERR_DEV "HO! The file or device \n you requested says: DROP DEAD."
  139. #define ERR_OPSYS "You obviously don't know \nwhat this computer can or can't do."
  140. #define ERR_ARGSTR "Do you have big ears? \n(Like Dumbo?) You obviously need a string argument at this point."
  141. #define ERR_DEFCHAR "Amazing. Surely children \nknow how to form a corrent argument here."
  142. #define ERR_MISMATCH "No way, turkey. \nThe statement here is TOTALLY mismatched."
  143. #define ERR_DIMNOTARRAY "Incredible. Why don't you \nsuppy an ARRAY NAME where the prograqm calls for an ARRAY NAME? (Or just go home.)"
  144. #define ERR_OD "Have you ever studied BASIC before? \nYou've run out of data."
  145. #define ERR_OVERFLOW "Congratulations on writing a program \nthat totally exceeds all limits."
  146. #define ERR_NF "Go back to kindergarten: \nYou have a NEXT statement FOR."
  147. #define ERR_UF "Trash. Total trash. \nDefine your stupid functions before calling them."
  148. #define ERR_DBZ "Obviously, you'll never be a programmer. \nYou've tried division by zero here."
  149. #define ERR_REDIM "You just don't understand: \nyou cannot redimension this variable."
  150. #define ERR_OBDIM "Dork. You called OPTION BASE after DIM. \nLeave me alone."
  151. #define ERR_UC "What do you think this is? \nTry entering a BASIC command here."
  152. #define ERR_NOPROGFILE "Idiot. No way this will run without a program file."
  153. #endif
  154. #if STD_RUSSIAN
  155. #define MES_SIGNON "iNTERPRETATOR Bywater BASIC, WERSIQ"
  156. #define MES_COPYRIGHT "Copyright (c) 1993, Ted A. Campbell"
  157. #define MES_LANGUAGE ""
  158. #define PROMPT "gOTOWO"
  159. #define ERROR_HEADER "o{ibka W STROKE"
  160. #define MATHERR_HEADER "o{ibka"
  161. #define MES_BREAK "pROGRAMMA PRERWANA W STROKE"
  162. #define ERR_OPENFILE "nE MOGU OTKRYTX FAJL %s"
  163. #define ERR_GETMEM "mALO PAMQTI"
  164. #define ERR_LINENO "nEWERNYJ NOMER STROKI"
  165. #define ERR_LNNOTFOUND "sTROKA %d NE NAJDENA"
  166. #define ERR_LOADNOFN "LOAD: NE ZADANO IMQ FAJLA"
  167. #define ERR_NOLN "oTSUTSTWUET NOMER STROKI"
  168. #define ERR_NOFN "oTSUTSTWUET IMQ FAJLA"
  169. #define ERR_RETNOGOSUB "RETURN BEZ GOSUB"
  170. #define ERR_INCOMPLETE "nEWER[ENNYJ OPERATOR"
  171. #define ERR_ONNOGOTO "ON BEZ GOTO ILI GOSUB"
  172. #define ERR_VALOORANGE "zNA^ENIE WNE DIAPAZONA"
  173. #define ERR_SYNTAX "sINTAKSI^ESKAQ O[IBKA"
  174. #define ERR_DEVNUM "nEWERNYJ NOMER USTROJSTWA"
  175. #define ERR_DEV "o[IBKA USTROJSTWA"
  176. #define ERR_OPSYS "o[IBKA W KOMANDE OPERACIONNOJ SISTEMY"
  177. #define ERR_ARGSTR "aRGUMENT DOLVEN BYTX STROKOJ"
  178. #define ERR_DEFCHAR "nEWERNYJ ARGUMENT W OPREDELENII PEREMENNOJ"
  179. #define ERR_MISMATCH "nESOOTWETSTWIE TIPOW"
  180. #define ERR_DIMNOTARRAY "aRGUMENT NE IMQ MASSIWA"
  181. #define ERR_OD "nET DANNYH"
  182. #define ERR_OVERFLOW "pEREPOLNENIE"
  183. #define ERR_NF "NEXT BEZ FOR"
  184. #define ERR_UF "nEOPREDELENNAQ FUNKCIQ"
  185. #define ERR_DBZ "dELENIE NA NOLX"
  186. #define ERR_REDIM "nELXZQ MENQTX RAZMERNOSTX PEREMENNOJ"
  187. #define ERR_OBDIM "OPTION BASE DOLVNA BYTX WYZWANA DO DIM"
  188. #define ERR_UC "nEWERNAQ KOMANDA"
  189. #define ERR_NOPROGFILE "Program file not specified"
  190. #endif
  191. /* STD_GERMAN */
  192. #if STD_GERMAN
  193. #define MES_SIGNON "Bywater BASIC Interpreter/Shell, version"
  194. #define MES_COPYRIGHT "Copyright (c) 1993, Ted A. Campbell"
  195. #define MES_LANGUAGE "Ausgegeben auf Deutsch von Joerg Rieger"
  196. #define PROMPT "bwBASIC: "
  197. #define ERROR_HEADER "Irrtum in Zeile"
  198. #define ERRD_HEADER "IRRTUM"
  199. #define MATHERR_HEADER "IRRTUM"
  200. #define MES_BREAK "Programm unterbrochen in Zeile"
  201. #define ERR_OPENFILE "Datei %s kann nict geoeffnet werden"
  202. #define ERR_GETMEM "Speicher kann nicht gefunden werden"
  203. #define ERR_LINENO "Zeilennummer kann nicht verbunden werden"
  204. #define ERR_LNNOTFOUND "Zeilennummer %d nicht gefunden"
  205. #define ERR_LOADNOFN "LOAD: Keine Dateiname angegeben"
  206. #define ERR_NOLN "Keine Zeilennummer"
  207. #define ERR_NOFN "Keine Dateiname"
  208. #define ERR_RETNOGOSUB "RETURN ohne GOSUB"
  209. #define ERR_INCOMPLETE "Angabe nicht vollstaendig"
  210. #define ERR_ONNOGOTO "ON ohne GOTO oder GOSUB"
  211. #define ERR_VALOORANGE "Wert is ausserhalb des Grenzbereits"
  212. #define ERR_SYNTAX "Syntax-fehler"
  213. #define ERR_DEVNUM "Ungueltige Geraetnummer"
  214. #define ERR_DEV "Geraet irrtum"
  215. #define ERR_OPSYS "Irrtum in Anwenden des System-Befehls"
  216. #define ERR_ARGSTR "Das Argument muss geradlinig sein"
  217. #define ERR_DEFCHAR "Falsches Argument fuer eine Variable Definition"
  218. #define ERR_MISMATCH "Type verwechselt"
  219. #define ERR_DIMNOTARRAY "Das Argument ist kein Feldname"
  220. #define ERR_OD "Keine Daten mehr vorhanden"
  221. #define ERR_OVERFLOW "Ueberflutung"
  222. #define ERR_NF "NEXT ohne FOR"
  223. #define ERR_UF "Funktion nicht definiert"
  224. #define ERR_DBZ "Teile durch Null"
  225. #define ERR_REDIM "Die Variable kann nicht neu dimensioniert werdern"
  226. #define ERR_OBDIM "OPTION BASE muss vor DIM aufgerufen werden"
  227. #define ERR_UC "Befehl unbekannt"
  228. #define ERR_NOPROGFILE "Programm Datei nicht angegeben"
  229. #endif
  230. /* ESPERANTO */
  231. #if ESPERANTO
  232. #define MES_SIGNON "Bywater BASIC Tradukilo/SXelo, vario"
  233. #define MES_COPYRIGHT "Kopirajtita (c) 1993, Ted A. Campbell"
  234. #define MES_LANGUAGE "Esperanta traduko farigxi per Ricxjo Muelisto."
  235. #define PROMPT "bwBASIC: "
  236. #define ERROR_HEADER "ERARO en vico"
  237. #define ERRD_HEADER "ERARO"
  238. #define MATHERR_HEADER "ERARO"
  239. #define MES_BREAK "Programo interrompita cxe vico"
  240. #define ERR_OPENFILE "Malsukcesis malfermi dosieron %s"
  241. #define ERR_GETMEM "Malsukcesis trovi memorajxo"
  242. #define ERR_LINENO "Malsukcesis ligi vicnumero"
  243. #define ERR_LNNOTFOUND "Vicnumero %d ne trovita"
  244. #define ERR_LOADNOFN "LOAD: dosiernomo ne specifita"
  245. #define ERR_NOLN "Ne estas vicnumero"
  246. #define ERR_NOFN "Ne estas dosiernomo"
  247. #define ERR_RETNOGOSUB "RETURN sen GOSUB"
  248. #define ERR_INCOMPLETE "Necompleta deklaro"
  249. #define ERR_ONNOGOTO "ON sen GOTO aux GOSUB"
  250. #define ERR_VALOORANGE "Valorajxo estas eksteretenda"
  251. #define ERR_SYNTAX "Sintakseraro"
  252. #define ERR_DEVNUM "Nevalida aparatnumero"
  253. #define ERR_DEV "Aparateraro"
  254. #define ERR_OPSYS "Eraro en funkcisistema ordono"
  255. #define ERR_ARGSTR "Argumento devas esti serio"
  256. #define ERR_DEFCHAR "Erara argumento por varianto difinajxo"
  257. #define ERR_MISMATCH "Tipa misparo"
  258. #define ERR_DIMNOTARRAY "Argumento ne estas kolektonomo"
  259. #define ERR_OD "Ne havas pli da informoj"
  260. #define ERR_OVERFLOW "Ektroajxo"
  261. #define ERR_NF "NEXT sen FOR"
  262. #define ERR_UF "Nedifininta funkcio"
  263. #define ERR_DBZ "Dividu per nulo"
  264. #define ERR_REDIM "Varianto ne eble esti redimensigxinta"
  265. #define ERR_OBDIM "OPTION BASE devas uzigxi antaux ol DIM"
  266. #define ERR_UC "Nekonata ordono"
  267. #define ERR_NOPROGFILE "Programa dosiero ne specifita"
  268. #endif
  269. /* Standard English is taken as a default: if MES_SIGNON is not defined by
  270. this time (i.e., by some other language definition), then
  271. the following standard English definitions are utilized. */
  272. #ifndef MES_SIGNON
  273. #define MES_SIGNON "Bywater BASIC Interpreter/Shell, version"
  274. #define MES_COPYRIGHT "Copyright (c) 1993, Ted A. Campbell"
  275. #define MES_LANGUAGE " "
  276. #define PROMPT "bwBASIC: "
  277. #define ERROR_HEADER "ERROR in line"
  278. #define ERRD_HEADER "ERROR"
  279. #define MATHERR_HEADER "ERROR"
  280. #define MES_BREAK "Program interrupted at line"
  281. #define ERR_OPENFILE "Failed to open file %s"
  282. #define ERR_GETMEM "Failed to find memory"
  283. #define ERR_LINENO "Failed to link line number"
  284. #define ERR_LNNOTFOUND "Line number %d not found"
  285. #define ERR_LOADNOFN "LOAD: no filename specified"
  286. #define ERR_NOLN "No line number"
  287. #define ERR_NOFN "No file name"
  288. #define ERR_RETNOGOSUB "RETURN without GOSUB"
  289. #define ERR_INCOMPLETE "Incomplete statement"
  290. #define ERR_ONNOGOTO "ON without GOTO or GOSUB"
  291. #define ERR_VALOORANGE "Value is out of range"
  292. #define ERR_SYNTAX "Syntax error"
  293. #define ERR_DEVNUM "Invalid device number"
  294. #define ERR_DEV "Device error"
  295. #define ERR_OPSYS "Error in operating system command"
  296. #define ERR_ARGSTR "Argument must be a string"
  297. #define ERR_DEFCHAR "Incorrect argument for variable definition"
  298. #define ERR_MISMATCH "Type mismatch"
  299. #define ERR_DIMNOTARRAY "Argument is not an array name"
  300. #define ERR_OD "Out of data"
  301. #define ERR_OVERFLOW "Overflow"
  302. #define ERR_NF "NEXT without FOR"
  303. #define ERR_UF "Undefined function"
  304. #define ERR_DBZ "Divide by zero"
  305. #define ERR_REDIM "Variable cannot be redimensioned"
  306. #define ERR_OBDIM "OPTION BASE must be called prior to DIM"
  307. #define ERR_UC "Unknown command"
  308. #define ERR_NOPROGFILE "Program file not specified"
  309. #endif
  310. /****************************************************************
  311. BASIC Command Name Definitions
  312. The following definitions of command names are given in
  313. order to allow users to redefine BASIC command names.
  314. No alternatives are supplied.
  315. ****************************************************************/
  316. #ifndef CMD_SYSTEM
  317. #define CMD_SYSTEM "SYSTEM"
  318. #define CMD_QUIT "QUIT"
  319. #define CMD_REM "REM"
  320. #define CMD_LET "LET"
  321. #define CMD_PRINT "PRINT"
  322. #define CMD_INPUT "INPUT"
  323. #define CMD_GO "GO"
  324. #define CMD_GOTO "GOTO"
  325. #define CMD_GOSUB "GOSUB"
  326. #define CMD_RETURN "RETURN"
  327. #define CMD_ON "ON"
  328. #define CMD_IF "IF"
  329. #define CMD_WHILE "WHILE"
  330. #define CMD_WEND "WEND"
  331. #define CMD_WRITE "WRITE"
  332. #define CMD_END "END"
  333. #define CMD_FOR "FOR"
  334. #define CMD_NEXT "NEXT"
  335. #define CMD_STOP "STOP"
  336. #define CMD_DATA "DATA"
  337. #define CMD_READ "READ"
  338. #define CMD_RESTORE "RESTORE"
  339. #define CMD_DIM "DIM"
  340. #define CMD_OPTION "OPTION"
  341. #define CMD_OPEN "OPEN"
  342. #define CMD_CLOSE "CLOSE"
  343. #define CMD_GET "GET"
  344. #define CMD_PUT "PUT"
  345. #define CMD_LSET "LSET"
  346. #define CMD_RSET "RSET"
  347. #define CMD_FIELD "FIELD"
  348. #define CMD_LINE "LINE"
  349. #define CMD_DEF "DEF"
  350. #define CMD_VARS "VARS"
  351. #define CMD_CMDS "CMDS"
  352. #define CMD_FNCS "FNCS"
  353. #define CMD_CHDIR "CHDIR"
  354. #define CMD_MKDIR "MKDIR"
  355. #define CMD_RMDIR "RMDIR"
  356. #define CMD_KILL "KILL"
  357. #define CMD_ENVIRON "ENVIRON"
  358. #define CMD_LIST "LIST"
  359. #define CMD_LOAD "LOAD"
  360. #define CMD_RUN "RUN"
  361. #define CMD_SAVE "SAVE"
  362. #define CMD_DELETE "DELETE"
  363. #define CMD_NEW "NEW"
  364. #define CMD_DEFDBL "DEFDBL"
  365. #define CMD_DEFINT "DEFINT"
  366. #define CMD_DEFSNG "DEFSNG"
  367. #define CMD_DEFSTR "DEFSTR"
  368. #define CMD_MID "MID$"
  369. #define CMD_CALL "CALL"
  370. #define CMD_SUB "SUB"
  371. #define CMD_FUNCTION "FUNCTION"
  372. #define CMD_LABEL "lAbEl" /* not really used: set to an unlikely combination */
  373. #define CMD_ELSE "ELSE"
  374. #define CMD_ELSEIF "ELSEIF"
  375. #define CMD_SELECT "SELECT"
  376. #define CMD_CASE "CASE"
  377. #define CMD_MERGE "MERGE"
  378. #define CMD_CHAIN "CHAIN"
  379. #define CMD_COMMON "COMMON"
  380. #define CMD_ERROR "ERROR"
  381. #define CMD_WIDTH "WIDTH"
  382. #define CMD_TRON "TRON"
  383. #define CMD_TROFF "TROFF"
  384. #define CMD_RANDOMIZE "RANDOMIZE"
  385. #define CMD_FILES "FILES"
  386. #define CMD_EDIT "EDIT"
  387. #define CMD_RENUM "RENUM"
  388. #define CMD_ERASE "ERASE"
  389. #define CMD_SWAP "SWAP"
  390. #define CMD_NAME "NAME"
  391. #define CMD_CLEAR "CLEAR"
  392. #define CMD_THEN "THEN"
  393. #define CMD_TO "TO"
  394. #define CMD_STEP "STEP"
  395. #define CMD_DO "DO"
  396. #define CMD_LOCATE "LOCATE"
  397. #define CMD_CLS "CLS"
  398. #define CMD_COLOR "COLOR"
  399. #define CMD_LOOP "LOOP"
  400. #define CMD_EXIT "EXIT"
  401. #define CMD_XUSING "USING"
  402. #define CMD_XFOR "FOR"
  403. #define CMD_XDO "DO"
  404. #define CMD_XUNTIL "UNTIL"
  405. #define CMD_XNUM "NUM"
  406. #define CMD_XUNNUM "UNNUM"
  407. #define CMD_XSUB "SUB"
  408. #define CMD_XTO "TO"
  409. #define CMD_XERROR "ERROR"
  410. #define CMD_XSUB "SUB"
  411. #define CMD_XFUNCTION "FUNCTION"
  412. #define CMD_XIF "IF"
  413. #define CMD_XSELECT "SELECT"
  414. #endif
  415. /****************************************************************
  416. External Definitions for Error Messages
  417. ****************************************************************/
  418. extern char err_openfile[];
  419. extern char err_getmem[];
  420. extern char err_noln[];
  421. extern char err_nofn[];
  422. extern char err_lnnotfound[];
  423. extern char err_incomplete[];
  424. extern char err_valoorange[];
  425. extern char err_syntax[];
  426. extern char err_devnum[];
  427. extern char err_dev[];
  428. extern char err_opsys[];
  429. extern char err_argstr[];
  430. extern char err_defchar[];
  431. extern char err_mismatch[];
  432. extern char err_dimnotarray[];
  433. extern char err_retnogosub[];
  434. extern char err_od[];
  435. extern char err_overflow[];
  436. extern char err_nf[];
  437. extern char err_uf[];
  438. extern char err_dbz[];
  439. extern char err_redim[];
  440. extern char err_obdim[];
  441. extern char err_uc[];
  442. extern char err_noprogfile[];