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.
 
 
 
 
 
 

1115 lines
47 KiB

  1. ============================================================
  2. GENERAL
  3. ============================================================
  4. OPTION VERSION "GCOS"
  5. REM INTERNAL ID: G74
  6. REM DESCRIPTION: GE 600 Mainframe BASIC
  7. REM REFERENCE: TIME-SHARING SYSTEM POCKET GUIDE, SERIES 600/6000 GCOS
  8. REM by Honeywell
  9. REM (c) 1974, Honeywell
  10. REM http://www.trailingedge.com/misc/
  11. REM GCOS-TSS-PocketGuide.pdf
  12. REM
  13. OPTION STRICT OFF
  14. OPTION ANGLE RADIANS
  15. OPTION BUGS OFF
  16. OPTION LABELS OFF
  17. OPTION COMPARE BINARY
  18. OPTION COVERAGE OFF
  19. OPTION TRACE OFF
  20. OPTION ERROR GOTO
  21. OPTION IMPLICIT
  22. OPTION BASE 0
  23. OPTION RECLEN 128
  24. OPTION DATE "%m/%d/%y"
  25. OPTION TIME "%H:%M"
  26. OPTION PUNCT STRING "$"
  27. OPTION PUNCT DOUBLE "#"
  28. OPTION PUNCT SINGLE "!"
  29. OPTION PUNCT CURRENCY " "
  30. OPTION PUNCT LONG "&"
  31. OPTION PUNCT INTEGER "%"
  32. OPTION PUNCT BYTE " "
  33. OPTION PUNCT QUOTE """
  34. OPTION PUNCT COMMENT "'"
  35. OPTION PUNCT STATEMENT " "
  36. OPTION PUNCT PRINT " "
  37. OPTION PUNCT INPUT " "
  38. OPTION PUNCT IMAGE ":"
  39. OPTION PUNCT LPAREN "("
  40. OPTION PUNCT RPAREN ")"
  41. OPTION PUNCT FILENUM "#"
  42. OPTION PUNCT AT " "
  43. OPTION USING DIGIT "#"
  44. OPTION USING COMMA ","
  45. OPTION USING PERIOD "."
  46. OPTION USING PLUS "+"
  47. OPTION USING MINUS "-"
  48. OPTION USING EXRAD "^"
  49. OPTION USING DOLLAR "$"
  50. OPTION USING FILLER "*"
  51. OPTION USING LITERAL "_"
  52. OPTION USING FIRST "!"
  53. OPTION USING ALL "&"
  54. OPTION USING LENGTH "%"
  55. ============================================================
  56. COMMANDS
  57. ============================================================
  58. ------------------------------------------------------------
  59. SYNTAX: APPEND # filenumber
  60. DESCRIPTION: Positions filenumber at EOF and sets the file
  61. to writing; filenumber <= 0 is ignored.
  62. ------------------------------------------------------------
  63. SYNTAX: BACKSPACE # X
  64. DESCRIPTION: Points the file to the previous item.
  65. ------------------------------------------------------------
  66. SYNTAX: BYE
  67. DESCRIPTION: Exits to the operating system.
  68. ------------------------------------------------------------
  69. SYNTAX: CHAIN filename$ [, linenumber]
  70. DESCRIPTION: Load and execute another BASIC program,
  71. without clearing common variables. For
  72. System/370, the syntax is CHAIN
  73. filename$,parameter$.
  74. ------------------------------------------------------------
  75. SYNTAX: CHANGE A$ TO X
  76. DESCRIPTION: Changes a string to a numeric array.
  77. ------------------------------------------------------------
  78. SYNTAX: CHANGE X TO A$
  79. DESCRIPTION: Changes a numeric array to a string.
  80. ------------------------------------------------------------
  81. SYNTAX: DATA constant [, ...]
  82. DESCRIPTION: Stores numeric and string constants to be
  83. accessed by READ.
  84. ------------------------------------------------------------
  85. SYNTAX: DEF FNname[( arg [,...] )] = value
  86. DESCRIPTION: Defines a single-line function. Single-line
  87. functions require an equal sign.
  88. ------------------------------------------------------------
  89. SYNTAX: DEF FNname[( arg [,...] )]
  90. DESCRIPTION: Defines a multiline function. Multi-line DEF
  91. functions do not have an equal sign and must
  92. end with FNEND.
  93. ------------------------------------------------------------
  94. SYNTAX: DELIMIT # X, A$
  95. DESCRIPTION: Sets the delimiter for READ # and WRITE #.
  96. ------------------------------------------------------------
  97. SYNTAX: DIM [# filenum,] variable([ lower TO ] upper)
  98. DESCRIPTION: Declares variables and specifies the
  99. dimensions of array variables. For array
  100. variables, if the lower bound is not
  101. provided, then the OPTION BASE value is used.
  102. If filenum is provided, then the variable is
  103. virtual.
  104. ------------------------------------------------------------
  105. SYNTAX: EDIT
  106. DESCRIPTION: implementation defined.
  107. ------------------------------------------------------------
  108. SYNTAX: END
  109. DESCRIPTION: Terminates program execution. If the BASIC
  110. program was executed from the operating
  111. system level, then control returns to the
  112. operating system, oterwise control reuturns
  113. to the BASIC prompt.
  114. ------------------------------------------------------------
  115. SYNTAX: FILE # X, A$
  116. DESCRIPTION: If A$ is "*" then closes file # X. If A$ is
  117. not "*" then opens the file named A$ in READ
  118. mode.
  119. ------------------------------------------------------------
  120. SYNTAX: FILES A$[, ...]
  121. DESCRIPTION: If A$ is not "*" opens the file named A$ in
  122. READ mode. The first filename of the first
  123. FILES command is assocated with file number
  124. 1. Note that multiple FILES commands
  125. accumulate.
  126. ------------------------------------------------------------
  127. SYNTAX: FNEND
  128. DESCRIPTION: Specifies the last line of a multi-line DEF
  129. function.
  130. ------------------------------------------------------------
  131. SYNTAX: FOR variable = start TO finish [STEP
  132. increment]
  133. DESCRIPTION: Top of a FOR - NEXT structure. The loop will
  134. continue a fixed number of times, which is
  135. determined by the values of start, finish,
  136. and increment.
  137. ------------------------------------------------------------
  138. SYNTAX: GO
  139. DESCRIPTION: Syntax Error.
  140. ------------------------------------------------------------
  141. SYNTAX: GO SUB line
  142. DESCRIPTION: Initiates a subroutine call to the line
  143. specified. The subroutine must end with
  144. RETURN. The line may be a number or a label.
  145. ------------------------------------------------------------
  146. SYNTAX: GO TO line
  147. DESCRIPTION: Branches program execution to the specified
  148. line. The line may be a number or a label.
  149. ------------------------------------------------------------
  150. SYNTAX: GOODBYE
  151. DESCRIPTION: Exits to the operating system.
  152. ------------------------------------------------------------
  153. SYNTAX: GOSUB line
  154. DESCRIPTION: Initiates a subroutine call to the line
  155. specified. The subroutine must end with
  156. RETURN. The line may be a number or a label.
  157. ------------------------------------------------------------
  158. SYNTAX: GOTO line
  159. DESCRIPTION: Branches program execution to the specified
  160. line. The line may be a number or a label.
  161. ------------------------------------------------------------
  162. SYNTAX: IF value THEN line1 [ELSE line2]
  163. DESCRIPTION: Single line standard IF command. If the value
  164. is non-zero, then branh to line1. If the
  165. value is zero and ELSE is provided, then
  166. branch to line2. Otherwise continue to the
  167. next line. LABELS are not allowed.
  168. ------------------------------------------------------------
  169. SYNTAX: IF END # filenum THEN line1 [ELSE line2]
  170. DESCRIPTION: Single line standard IF command. If the file
  171. is at EOF , then branch to line1. If the
  172. file is not at EOF and ELSE is provided, then
  173. branch to line2. Otherwise continue to the
  174. next line. LABELS are not allowed.
  175. ------------------------------------------------------------
  176. SYNTAX: IF MORE # filenum THEN line1 [ELSE line2]
  177. DESCRIPTION: Single line standard IF command. If the file
  178. is not at EOF , then branch to line1. If the
  179. file is at EOF and ELSE is provided, then
  180. branch to line2. Otherwise continue to the
  181. next line. LABELS are not allowed.
  182. ------------------------------------------------------------
  183. SYNTAX: INPUT "prompt string" , variable [, ...]
  184. DESCRIPTION: Reads input from the terminal after displaying
  185. a prompt.
  186. ------------------------------------------------------------
  187. SYNTAX: INPUT # filenum , variable [, ...]s
  188. DESCRIPTION: Reads input from the file specified by
  189. filenum.
  190. ------------------------------------------------------------
  191. SYNTAX: INPUT variable [, ...]
  192. DESCRIPTION: Reads input from the terminal.
  193. ------------------------------------------------------------
  194. SYNTAX: [LET] variable [, ...] = value
  195. DESCRIPTION: Assigns the value to the variable. The LET
  196. keyword is optional.
  197. ------------------------------------------------------------
  198. SYNTAX: LIST line1 [- line2]
  199. DESCRIPTION: Lists BASIC program lines from line1 to line2
  200. to the console on stdout.
  201. ------------------------------------------------------------
  202. SYNTAX: LISTNH line1 [- line2]
  203. DESCRIPTION: Lists BASIC program lines from line1 to line2
  204. to the console on stdout.
  205. ------------------------------------------------------------
  206. SYNTAX: LOAD [filename$]
  207. DESCRIPTION: Loads an ASCII BASIC program into memory.
  208. ------------------------------------------------------------
  209. SYNTAX: MAINTAINER
  210. DESCRIPTION: This command is reserved for use by the
  211. Bywater BASIC maintainer. It is not for the
  212. BASIC programmer.
  213. ------------------------------------------------------------
  214. SYNTAX: MAINTAINER CMDS
  215. DESCRIPTION: Syntax Error.
  216. ------------------------------------------------------------
  217. SYNTAX: MAINTAINER CMDS HTML
  218. DESCRIPTION: Dump COMMAND vs VERSION as HTML table
  219. ------------------------------------------------------------
  220. SYNTAX: MAINTAINER CMDS ID
  221. DESCRIPTION: Dump COMMAND #define.
  222. ------------------------------------------------------------
  223. SYNTAX: MAINTAINER CMDS MANUAL
  224. DESCRIPTION: Dump COMMAND manual.
  225. ------------------------------------------------------------
  226. SYNTAX: MAINTAINER CMDS_SWITCH
  227. DESCRIPTION: Dump COMMAND switch.
  228. ------------------------------------------------------------
  229. SYNTAX: MAINTAINER CMDS TABLE
  230. DESCRIPTION: Dump COMMAND table.
  231. ------------------------------------------------------------
  232. SYNTAX: MAINTAINER DEBUG
  233. DESCRIPTION: Syntax Error.
  234. ------------------------------------------------------------
  235. SYNTAX: MAINTAINER DEBUG OFF
  236. DESCRIPTION: Disable degug tracing.
  237. ------------------------------------------------------------
  238. SYNTAX: MAINTAINER DEBUG ON
  239. DESCRIPTION: Enable degug tracing.
  240. ------------------------------------------------------------
  241. SYNTAX: MAINTAINER FNCS
  242. DESCRIPTION: Syntax Error.
  243. ------------------------------------------------------------
  244. SYNTAX: MAINTAINER FNCS HTML
  245. DESCRIPTION: Dump FUNCTION vs VERSION as HTML table.
  246. ------------------------------------------------------------
  247. SYNTAX: MAINTAINER FNCS ID
  248. DESCRIPTION: Dump FUNCTION #define.
  249. ------------------------------------------------------------
  250. SYNTAX: MAINTAINER FNCS MANUAL
  251. DESCRIPTION: Dump FUNCTION manual.
  252. ------------------------------------------------------------
  253. SYNTAX: MAINTAINER FNCS SWITCH
  254. DESCRIPTION: Dump FUNCTION switch.
  255. ------------------------------------------------------------
  256. SYNTAX: MAINTAINER FNCS TABLE
  257. DESCRIPTION: Dump FUNCTION table.
  258. ------------------------------------------------------------
  259. SYNTAX: MAINTAINER MANUAL
  260. DESCRIPTION: Dump manual for the currently selected OPTION
  261. VERSION.
  262. ------------------------------------------------------------
  263. SYNTAX: MAINTAINER STACK
  264. DESCRIPTION: Dump the BASIC stack.
  265. ------------------------------------------------------------
  266. SYNTAX: MARGIN # filenumber, width
  267. DESCRIPTION: Sets the file margin for writing; filenumber
  268. <= 0 is ignored.
  269. ------------------------------------------------------------
  270. SYNTAX: MAT arrayname = value
  271. DESCRIPTION: Matrix operations:
  272. MAT A = CON
  273. MAT A = IDN
  274. MAT A = ZER
  275. MAT A = INV B
  276. MAT A = TRN B
  277. MAT A = (k) * B
  278. MAT A = B
  279. MAT A = B + C
  280. MAT A = B - C
  281. MAT A = B * C
  282. ------------------------------------------------------------
  283. SYNTAX: MAT GET filename$, arrayname
  284. DESCRIPTION: Matrix get.
  285. ------------------------------------------------------------
  286. SYNTAX: MAT INPUT arrayname
  287. DESCRIPTION: Matrix input.
  288. ------------------------------------------------------------
  289. SYNTAX: MAT PRINT arrayname
  290. DESCRIPTION: Matrix print.
  291. ------------------------------------------------------------
  292. SYNTAX: MAT PUT filename$, arrayname
  293. DESCRIPTION: Matrix put.
  294. ------------------------------------------------------------
  295. SYNTAX: MAT READ arrayname
  296. DESCRIPTION: Matrix read.
  297. ------------------------------------------------------------
  298. SYNTAX: MAT WRITE arrayname
  299. DESCRIPTION: Matrix write.
  300. ------------------------------------------------------------
  301. SYNTAX: NEW
  302. DESCRIPTION: Deletes the program in memory and clears all
  303. variables.
  304. ------------------------------------------------------------
  305. SYNTAX: NEXT [variable]
  306. DESCRIPTION: The bottom line of a FOR - NEXT structure.
  307. ------------------------------------------------------------
  308. SYNTAX: OF
  309. DESCRIPTION: Syntax Error.
  310. ------------------------------------------------------------
  311. SYNTAX: OLD [filename$]
  312. DESCRIPTION: Loads an ASCII BASIC program into memory.
  313. ------------------------------------------------------------
  314. SYNTAX: ON value GOSUB line [, ...]
  315. DESCRIPTION: Calls based on the rounded value.
  316. ------------------------------------------------------------
  317. SYNTAX: ON value GOTO line [, ...]
  318. DESCRIPTION: Branches based on the rounded value.
  319. ------------------------------------------------------------
  320. SYNTAX: OPTION
  321. DESCRIPTION: Syntax Error.
  322. ------------------------------------------------------------
  323. SYNTAX: OPTION ANGLE
  324. DESCRIPTION: Syntax Error.
  325. ------------------------------------------------------------
  326. SYNTAX: OPTION ANGLE DEGREES
  327. DESCRIPTION: Configures these math functions to accept and
  328. return angles in degrees: ACOS, ACS, ANGLE,
  329. ARCSIN, ASIN, ASN, ARCTAN, ATN, ATAN, COS,
  330. COT, CSC, SEC, SIN and TAN.
  331. ------------------------------------------------------------
  332. SYNTAX: OPTION ANGLE GRADIANS
  333. DESCRIPTION: Configures these math functions to accept and
  334. return angles in gradians: ACOS, ANGLE,
  335. ASIN, ASN, ATN, ATAN, COS, COT, CSC, SEC, SIN
  336. and TAN.
  337. ------------------------------------------------------------
  338. SYNTAX: OPTION ANGLE RADIANS
  339. DESCRIPTION: Configures these math functions to accept and
  340. return angles in radians: ACOS, ANGLE, ASIN,
  341. ASN, ATN, ATAN, COS, COT, CSC, SEC, SIN and
  342. TAN.
  343. ------------------------------------------------------------
  344. SYNTAX: OPTION ARITHMETIC
  345. DESCRIPTION: Syntax Error.
  346. ------------------------------------------------------------
  347. SYNTAX: OPTION ARITHMETIC DECIMAL
  348. DESCRIPTION: Currently has no effect.
  349. ------------------------------------------------------------
  350. SYNTAX: OPTION ARITHMETIC FIXED
  351. DESCRIPTION: Currently has no effect.
  352. ------------------------------------------------------------
  353. SYNTAX: OPTION ARITHMETIC NATIVE
  354. DESCRIPTION: Currently has no effect.
  355. ------------------------------------------------------------
  356. SYNTAX: OPTION BASE integer
  357. DESCRIPTION: Sets the default lowest array subscript.
  358. ------------------------------------------------------------
  359. SYNTAX: OPTION BUGS
  360. DESCRIPTION: Syntax Error.
  361. ------------------------------------------------------------
  362. SYNTAX: OPTION BUGS BOOLEAN
  363. DESCRIPTION: Boolean results are 1 or 0 instead of bitwise.
  364. ------------------------------------------------------------
  365. SYNTAX: OPTION BUGS OFF
  366. DESCRIPTION: Disables bugs commonly found in many BASIC
  367. dialects.
  368. ------------------------------------------------------------
  369. SYNTAX: OPTION BUGS ON
  370. DESCRIPTION: Enables bugs commonly found in many BASIC
  371. dialects.
  372. ------------------------------------------------------------
  373. SYNTAX: OPTION COMPARE
  374. DESCRIPTION: Syntax Error.
  375. ------------------------------------------------------------
  376. SYNTAX: OPTION COMPARE BINARY
  377. DESCRIPTION: Causes string comparisons to be
  378. case-sensitive.
  379. ------------------------------------------------------------
  380. SYNTAX: OPTION COMPARE DATABASE
  381. DESCRIPTION: Causes string comparisons to be
  382. case-insensitive.
  383. ------------------------------------------------------------
  384. SYNTAX: OPTION COMPARE TEXT
  385. DESCRIPTION: Causes string comparisons to be
  386. case-insensitive.
  387. ------------------------------------------------------------
  388. SYNTAX: OPTION COVERAGE
  389. DESCRIPTION: Syntax Error.
  390. ------------------------------------------------------------
  391. SYNTAX: OPTION COVERAGE OFF
  392. DESCRIPTION: Disables BASIC code coverage recording,
  393. displayed using the LIST command.
  394. ------------------------------------------------------------
  395. SYNTAX: OPTION COVERAGE ON
  396. DESCRIPTION: Enables BASIC code coverage recording,
  397. displayed using the LIST command.
  398. ------------------------------------------------------------
  399. SYNTAX: OPTION DATE format$
  400. DESCRIPTION: Sets the date format string used by C
  401. strftime() for DATE$.
  402. ------------------------------------------------------------
  403. SYNTAX: OPTION DIGITS integer
  404. DESCRIPTION: Sets the number of significant digits for
  405. PRINT. Setting the value to zero restores
  406. the default.
  407. ------------------------------------------------------------
  408. SYNTAX: OPTION DISABLE
  409. DESCRIPTION: Syntax Error.
  410. ------------------------------------------------------------
  411. SYNTAX: OPTION DISABLE COMMAND name$
  412. DESCRIPTION: Disables the specified BASIC command.
  413. ------------------------------------------------------------
  414. SYNTAX: OPTION DISABLE FUNCTION name$
  415. DESCRIPTION: Disables the specified BASIC function.
  416. ------------------------------------------------------------
  417. SYNTAX: OPTION DISABLE OPERATOR name$
  418. DESCRIPTION: Disables the specified BASIC operator.
  419. ------------------------------------------------------------
  420. SYNTAX: OPTION EDIT string$
  421. DESCRIPTION: Sets the program name used by the EDIT
  422. command.
  423. ------------------------------------------------------------
  424. SYNTAX: OPTION ENABLE
  425. DESCRIPTION: Syntax Error.
  426. ------------------------------------------------------------
  427. SYNTAX: OPTION ENABLE COMMAND name$
  428. DESCRIPTION: Enables the specified BASIC command.
  429. ------------------------------------------------------------
  430. SYNTAX: OPTION ENABLE FUNCTION name$
  431. DESCRIPTION: Enables the specified BASIC function.
  432. ------------------------------------------------------------
  433. SYNTAX: OPTION ENABLE OPERATOR name$
  434. DESCRIPTION: Enables the specified BASIC operator.
  435. ------------------------------------------------------------
  436. SYNTAX: OPTION ERROR
  437. DESCRIPTION: Syntax Error.
  438. ------------------------------------------------------------
  439. SYNTAX: OPTION ERROR GOSUB
  440. DESCRIPTION: When an error occurs, GOSUB to the error
  441. handler. The error handler exits with
  442. RETURN.
  443. ------------------------------------------------------------
  444. SYNTAX: OPTION ERROR GOTO
  445. DESCRIPTION: When an error occurs, GOTO to the error
  446. handler. The error handler exits with
  447. RESUME.
  448. ------------------------------------------------------------
  449. SYNTAX: OPTION EXPLICIT
  450. DESCRIPTION: All variables must be declared using DIM.
  451. ------------------------------------------------------------
  452. SYNTAX: OPTION EXTENSION string$
  453. DESCRIPTION: Sets the BASIC filename extension, commonly
  454. ".bas".
  455. ------------------------------------------------------------
  456. SYNTAX: OPTION FILES string$
  457. DESCRIPTION: Sets the program name used by the FILES
  458. command.
  459. ------------------------------------------------------------
  460. SYNTAX: OPTION IMPLICIT
  461. DESCRIPTION: Variables need not be declared using DIM,
  462. provided arrays have no more that 10
  463. elements. This is the opposite of OPTION
  464. EXPLICIT, and is the default for all versions
  465. of BASIC.
  466. ------------------------------------------------------------
  467. SYNTAX: OPTION INDENT integer
  468. DESCRIPTION: Sets indention level for LIST. Zero means no
  469. indention. Default is 2.
  470. ------------------------------------------------------------
  471. SYNTAX: OPTION LABELS
  472. DESCRIPTION: Syntax Error.
  473. ------------------------------------------------------------
  474. SYNTAX: OPTION LABELS OFF
  475. DESCRIPTION: Disables text labels.
  476. ------------------------------------------------------------
  477. SYNTAX: OPTION LABELS ON
  478. DESCRIPTION: Enables text labels.
  479. ------------------------------------------------------------
  480. SYNTAX: OPTION PROMPT string$
  481. DESCRIPTION: Sets the BASIC prompt.
  482. ------------------------------------------------------------
  483. SYNTAX: OPTION PUNCT
  484. DESCRIPTION: Syntax Error.
  485. ------------------------------------------------------------
  486. SYNTAX: OPTION PUNCT AT char$
  487. DESCRIPTION: Sets the PRINT AT character, commonly "@".
  488. ------------------------------------------------------------
  489. SYNTAX: OPTION PUNCT BYTE char$
  490. DESCRIPTION: Sets the suffix character that indicates a
  491. variable is of type BYTE, commonly "~".
  492. ------------------------------------------------------------
  493. SYNTAX: OPTION PUNCT COMMENT char$
  494. DESCRIPTION: Sets the shortcut COMMENT character.
  495. ------------------------------------------------------------
  496. SYNTAX: OPTION PUNCT CURRENCY char$
  497. DESCRIPTION: Sets the suffix character that indicates a
  498. variable is of type CURRENCY, commonly "@".
  499. ------------------------------------------------------------
  500. SYNTAX: OPTION PUNCT DOUBLE char$
  501. DESCRIPTION: Sets the suffix character that indicates a
  502. variable is of type DOUBLE, commonly "#".
  503. ------------------------------------------------------------
  504. SYNTAX: OPTION PUNCT FILENUM char$
  505. DESCRIPTION: Sets the FILE NUMBER prefix character,
  506. commonly "#".
  507. ------------------------------------------------------------
  508. SYNTAX: OPTION PUNCT IMAGE char$
  509. DESCRIPTION: Sets the shortcut IMAGE character, commonly
  510. ":".
  511. ------------------------------------------------------------
  512. SYNTAX: OPTION PUNCT INPUT char$
  513. DESCRIPTION: Sets the shortcut INPUT character, commonly
  514. "!".
  515. ------------------------------------------------------------
  516. SYNTAX: OPTION PUNCT INTEGER char$
  517. DESCRIPTION: Sets the suffix character that indicates a
  518. variable is of type INTEGER, commonly "%".
  519. ------------------------------------------------------------
  520. SYNTAX: OPTION PUNCT LONG char$
  521. DESCRIPTION: Sets the suffix character that indicates a
  522. variable is of type LONG, commonly "&".
  523. ------------------------------------------------------------
  524. SYNTAX: OPTION PUNCT LPAREN char$
  525. DESCRIPTION: Sets the LEFT PARENTHESIS character, commonly
  526. "(".
  527. ------------------------------------------------------------
  528. SYNTAX: OPTION PUNCT_PRINT char$
  529. DESCRIPTION: Sets the shortcut PRINT character, commonly
  530. "?".
  531. ------------------------------------------------------------
  532. SYNTAX: OPTION PUNCT QUOTE char$
  533. DESCRIPTION: Sets the QUOTE character, commonly """
  534. ------------------------------------------------------------
  535. SYNTAX: OPTION PUNCT RPAREN char$
  536. DESCRIPTION: Sets the RIGHT PARENTHESIS character, commonly
  537. ")".
  538. ------------------------------------------------------------
  539. SYNTAX: OPTION PUNCT SINGLE char$
  540. DESCRIPTION: Sets the suffix character that indicates a
  541. variable is of type SINGLE, commonly "!".
  542. ------------------------------------------------------------
  543. SYNTAX: OPTION PUNCT STATEMENT char$
  544. DESCRIPTION: Sets the statement seperator character,
  545. commonly ":".
  546. ------------------------------------------------------------
  547. SYNTAX: OPTION PUNCT STRING char$
  548. DESCRIPTION: Sets the suffix character that indicates a
  549. variable is of type STRING, commonly "$".
  550. ------------------------------------------------------------
  551. SYNTAX: OPTION RECLEN integer
  552. DESCRIPTION: Sets the default RANDOM record length.
  553. ------------------------------------------------------------
  554. SYNTAX: OPTION RENUM string$
  555. DESCRIPTION: Sets the program name used by the RENUM
  556. command.
  557. ------------------------------------------------------------
  558. SYNTAX: OPTION ROUND
  559. DESCRIPTION: Syntax Error.
  560. ------------------------------------------------------------
  561. SYNTAX: OPTION ROUND BANK
  562. DESCRIPTION: Round using the Banker rule.
  563. ------------------------------------------------------------
  564. SYNTAX: OPTION ROUND MATH
  565. DESCRIPTION: Round using mathematical rules.
  566. ------------------------------------------------------------
  567. SYNTAX: OPTION ROUND TRUNCATE
  568. DESCRIPTION: Round using truncation.
  569. ------------------------------------------------------------
  570. SYNTAX: OPTION SCALE integer
  571. DESCRIPTION: Sets the number of digits to round after the
  572. decimal point for PRINT. Setting the value
  573. to zero disables rounding.
  574. ------------------------------------------------------------
  575. SYNTAX: OPTION SLEEP double
  576. DESCRIPTION: Sets multiplier for SLEEP and WAIT. Zero
  577. means no waiting. Default is 1.
  578. ------------------------------------------------------------
  579. SYNTAX: OPTION STDERR filename$
  580. DESCRIPTION: Sets the file used for STDERR, which is used
  581. by LPRINT commands.
  582. ------------------------------------------------------------
  583. SYNTAX: OPTION STDIN filename$
  584. DESCRIPTION: Sets the file used for STDIN, which is used by
  585. INPUT commands.
  586. ------------------------------------------------------------
  587. SYNTAX: OPTION STDOUT filename$
  588. DESCRIPTION: Sets the file used for STDOUT, which is used
  589. by PRINT commands.
  590. ------------------------------------------------------------
  591. SYNTAX: OPTION STRICT
  592. DESCRIPTION: Syntax Error.
  593. ------------------------------------------------------------
  594. SYNTAX: OPTION STRICT OFF
  595. DESCRIPTION: Disables checking for implicit array creation
  596. without using the DIM command.
  597. ------------------------------------------------------------
  598. SYNTAX: OPTION STRICT ON
  599. DESCRIPTION: Enables checking for implicit array creation
  600. without using the DIM command.
  601. ------------------------------------------------------------
  602. SYNTAX: OPTION TERMINAL
  603. DESCRIPTION: Syntax Error.
  604. ------------------------------------------------------------
  605. SYNTAX: OPTION TERMINAL ADM
  606. DESCRIPTION: Enables ADM-3A terminal control codes for CLS,
  607. COLOR, and LOCATE.
  608. ------------------------------------------------------------
  609. SYNTAX: OPTION TERMINAL ANSI
  610. DESCRIPTION: Enables ANSI terminal control codes for CLS,
  611. COLOR, and LOCATE.
  612. ------------------------------------------------------------
  613. SYNTAX: OPTION TERMINAL NONE
  614. DESCRIPTION: Disables terminal control codes for CLS,
  615. COLOR, and LOCATE.
  616. ------------------------------------------------------------
  617. SYNTAX: OPTION TIME format$
  618. DESCRIPTION: Sets the time format string used by C
  619. strftime() for TIME$.
  620. ------------------------------------------------------------
  621. SYNTAX: OPTION TRACE
  622. DESCRIPTION: Syntax Error.
  623. ------------------------------------------------------------
  624. SYNTAX: OPTION TRACE OFF
  625. DESCRIPTION: Disables displaying a stack trace when an
  626. ERROR occurs.
  627. ------------------------------------------------------------
  628. SYNTAX: OPTION TRACE ON
  629. DESCRIPTION: Enables displaying a stack trace when an ERROR
  630. occurs.
  631. ------------------------------------------------------------
  632. SYNTAX: OPTION USING
  633. DESCRIPTION: Syntax Error.
  634. ------------------------------------------------------------
  635. SYNTAX: OPTION USING ALL char$
  636. DESCRIPTION: Specifies the magic ALL character for the
  637. PRINT USING command. A common value is "&".
  638. ------------------------------------------------------------
  639. SYNTAX: OPTION USING COMMA char$
  640. DESCRIPTION: Specifies the magic COMMA character for the
  641. PRINT USING command. A common value is ",".
  642. ------------------------------------------------------------
  643. SYNTAX: OPTION USING DIGIT char$
  644. DESCRIPTION: Specifies the magic DIGIT character for the
  645. PRINT USING command. A common value is "#".
  646. ------------------------------------------------------------
  647. SYNTAX: OPTION USING DOLLAR char$
  648. DESCRIPTION: Specifies the magic DOLLAR character for the
  649. PRINT USING command. A common value is "$".
  650. ------------------------------------------------------------
  651. SYNTAX: OPTION USING EXRAD char$
  652. DESCRIPTION: Specifies the magic EXRAD character for the
  653. PRINT USING command. A common value is "^".
  654. ------------------------------------------------------------
  655. SYNTAX: OPTION USING FILLER char$
  656. DESCRIPTION: Specifies the magic FILLER character for the
  657. PRINT USING command. A common value is "*".
  658. ------------------------------------------------------------
  659. SYNTAX: OPTION USING FIRST char$
  660. DESCRIPTION: Specifies the magic FIRST character for the
  661. PRINT USING command. A common value is "!".
  662. ------------------------------------------------------------
  663. SYNTAX: OPTION USING LENGTH char$
  664. DESCRIPTION: Specifies the magic LENGTH character for the
  665. PRINT USING command. A common value is "\".
  666. ------------------------------------------------------------
  667. SYNTAX: OPTION USING LITERAL char$
  668. DESCRIPTION: Specifies the magic LITERAL character for the
  669. PRINT USING command. A common value is "_".
  670. ------------------------------------------------------------
  671. SYNTAX: OPTION USING MINUS char$
  672. DESCRIPTION: Specifies the magic MINUS character for the
  673. PRINT USING command. A common value is "-".
  674. ------------------------------------------------------------
  675. SYNTAX: OPTION USING PERIOD char$
  676. DESCRIPTION: Specifies the magic PERIOD character for the
  677. PRINT USING command. A common value is ".".
  678. ------------------------------------------------------------
  679. SYNTAX: OPTION USING PLUS char$
  680. DESCRIPTION: Specifies the magic PLUS character for the
  681. PRINT USING command. A common value is "+".
  682. ------------------------------------------------------------
  683. SYNTAX: OPTION VERSION version$
  684. DESCRIPTION: Selects a specific BASIC version, which is a
  685. combination of OPTION settings, commands,
  686. functions and operators. If no version is
  687. specified, displays a list of the available
  688. versions.
  689. ------------------------------------------------------------
  690. SYNTAX: OPTION ZONE integer
  691. DESCRIPTION: Sets the PRINT zone width. Setting the value
  692. to zero restores the default.
  693. ------------------------------------------------------------
  694. SYNTAX: PRINT # filenum , [USING format$;] value ...
  695. DESCRIPTION: Sends output to a file.
  696. ------------------------------------------------------------
  697. SYNTAX: PRINT [USING format$;] value ...
  698. DESCRIPTION: Sends output to the screen.
  699. ------------------------------------------------------------
  700. SYNTAX: QUIT
  701. DESCRIPTION: Exits to the operating system.
  702. ------------------------------------------------------------
  703. SYNTAX: READ variable [, ...]
  704. DESCRIPTION: Reads values from DATA statements.
  705. ------------------------------------------------------------
  706. SYNTAX: REM ...
  707. DESCRIPTION: Remark.
  708. ------------------------------------------------------------
  709. SYNTAX: RENAME [filename$]
  710. DESCRIPTION: Changes the file name which will be used by
  711. SAVE. Does not save the file.
  712. ------------------------------------------------------------
  713. SYNTAX: RESTORE [line]
  714. DESCRIPTION: Resets the line used for the next READ
  715. statement. line may be either a number or a
  716. label.
  717. ------------------------------------------------------------
  718. SYNTAX: RETURN
  719. DESCRIPTION: Concludes a subroutine called by GOSUB.
  720. ------------------------------------------------------------
  721. SYNTAX: RUN filename$
  722. DESCRIPTION: Loads a new BAASIC program and executes the
  723. program from the start.
  724. ------------------------------------------------------------
  725. SYNTAX: RUN line
  726. DESCRIPTION: Executes the program in memory beginning at
  727. line.
  728. ------------------------------------------------------------
  729. SYNTAX: RUN
  730. DESCRIPTION: Executes the program in memory from the start.
  731. ------------------------------------------------------------
  732. SYNTAX: RUNNH line
  733. DESCRIPTION: Executes the program in memory beginning at
  734. line.
  735. ------------------------------------------------------------
  736. SYNTAX: RUNNH filename$
  737. DESCRIPTION: Loads a new BAASIC program and executes the
  738. program from the start.
  739. ------------------------------------------------------------
  740. SYNTAX: RUNNH
  741. DESCRIPTION: Executes the program in memory from the start.
  742. ------------------------------------------------------------
  743. SYNTAX: SAVE [filename$]
  744. DESCRIPTION: Saves the current program into the file
  745. filename$ in ASCII format.
  746. ------------------------------------------------------------
  747. SYNTAX: SCRATCH [# X]
  748. DESCRIPTION: SCRATCH Deletes the program in memory and
  749. clears all variables. SCRATCH # X Sets the
  750. file mode to writing.
  751. ------------------------------------------------------------
  752. SYNTAX: STEP
  753. DESCRIPTION: Syntax Error.
  754. ------------------------------------------------------------
  755. SYNTAX: STOP
  756. DESCRIPTION: Interrupts program execution and displays the
  757. line number of the STOP command. For use
  758. when debugging BASIC programs. Whether STOP
  759. issues a SIGINT signal is implementation
  760. defined.
  761. ------------------------------------------------------------
  762. SYNTAX: SYSTEM
  763. DESCRIPTION: Exits to the operating system.
  764. ------------------------------------------------------------
  765. SYNTAX: THEN
  766. DESCRIPTION: Syntax Error.
  767. ------------------------------------------------------------
  768. SYNTAX: TO
  769. DESCRIPTION: Syntax Error.
  770. ------------------------------------------------------------
  771. SYNTAX: TRACE
  772. DESCRIPTION: Enables tracing.
  773. ------------------------------------------------------------
  774. SYNTAX: TRACE OFF
  775. DESCRIPTION: Disables tracing.
  776. ------------------------------------------------------------
  777. SYNTAX: TRACE ON
  778. DESCRIPTION: Enables tracing.
  779. ------------------------------------------------------------
  780. SYNTAX: WRITE # filenum, value [, .... ]
  781. DESCRIPTION: Outputs value to a file. Strings are quoted
  782. and each value is seperated by a omma.
  783. ------------------------------------------------------------
  784. SYNTAX: WRITE value [, .... ]
  785. DESCRIPTION: Outputs value to the screen. Strings are
  786. quoted and each value is seperated by a
  787. comma.
  788. ------------------------------------------------------------
  789. ============================================================
  790. FUNCTIONS
  791. ============================================================
  792. ------------------------------------------------------------
  793. SYNTAX: N = ABS( X )
  794. PARAMETER: X is a number
  795. DESCRIPTION: The absolute value of X.
  796. ------------------------------------------------------------
  797. SYNTAX: N = ASC( A$ )
  798. PARAMETER: A$ is a string, LEN >= 1
  799. DESCRIPTION: The numeric code for the first letter in A$.
  800. For example, ASC("ABC") returns 65 on ASCII
  801. systems.
  802. ------------------------------------------------------------
  803. SYNTAX: N = ATN( X )
  804. PARAMETER: X is a number
  805. DESCRIPTION: The arctangent of X in radians, i.e. the angle
  806. whose tangent is X, where -PI/2 < ATN(X) <
  807. PI/2.
  808. ------------------------------------------------------------
  809. SYNTAX: N = CATALOG
  810. DESCRIPTION: Displays all the file names.
  811. ------------------------------------------------------------
  812. SYNTAX: N = CATALOG( A$ )
  813. PARAMETER: A$ is a string, LEN >= 1
  814. DESCRIPTION: Displays all the file names matching A$.
  815. ------------------------------------------------------------
  816. SYNTAX: S$ = CHR$( X )
  817. PARAMETER: X is a number, [0,255]
  818. DESCRIPTION: The one-character string with the character
  819. corresponding to the numeric code X. On
  820. ASCII systems, CHR$(65) returns "A".
  821. ------------------------------------------------------------
  822. SYNTAX: N = CLK( X )
  823. PARAMETER: X is a number
  824. DESCRIPTION: The time elapsed since the previous midnight,
  825. expressed in hours; e.g., the value of CLK at
  826. 3:15 PM is 15.25. If there is no clock
  827. available, then the value of CLK shall be -1.
  828. The value of CLK at midnight shall be zero
  829. (not 24). The value of X is ignored.
  830. ------------------------------------------------------------
  831. SYNTAX: S$ = CLK$
  832. DESCRIPTION: The time of day in 24-hour notation according
  833. to ISO 3307. For example, the value of TIME$
  834. at 11:15 AM is "11:15:00". If there is no
  835. clock available, then the value of TIME$
  836. shall be "99:99:99". The value of TIME$ at
  837. midnight is "00:00:00".
  838. ------------------------------------------------------------
  839. SYNTAX: N = COS( X )
  840. PARAMETER: X is a number
  841. DESCRIPTION: The cosine of X, where X is in radians.
  842. ------------------------------------------------------------
  843. SYNTAX: N = COT( X )
  844. PARAMETER: X is a number
  845. DESCRIPTION: The cotangent of X, where X is in radians.
  846. ------------------------------------------------------------
  847. SYNTAX: S$ = DAT$
  848. DESCRIPTION: The current date based on the internal clock
  849. as a string in the format set by OPTION DATE.
  850. ------------------------------------------------------------
  851. SYNTAX: N = DET
  852. DESCRIPTION: The determinant of the last MAT INV. Zero
  853. means error.
  854. ------------------------------------------------------------
  855. SYNTAX: N = EXP( X )
  856. PARAMETER: X is a number
  857. DESCRIPTION: The exponential value of X, i.e., the value of
  858. the base of natural logarithms (e = 2.71828)
  859. raised to the power of X; if EXP(X) is less
  860. that machine infinitesimal, then its value
  861. shall be replaced with zero.
  862. ------------------------------------------------------------
  863. SYNTAX: N = FIX( X )
  864. PARAMETER: X is a number
  865. DESCRIPTION: The truncated integer, part of X. FIX (X) is
  866. equivalent to SGN(X)*INT(ABS(X)). The major
  867. difference between FIX and INT is that FIX
  868. does not return the next lower number for
  869. negative X.
  870. ------------------------------------------------------------
  871. SYNTAX: N = INT( X )
  872. PARAMETER: X is a number
  873. DESCRIPTION: The largest integer not greater than X; e.g.
  874. INT(1.3) = 1 and INT(-1.3) = 2.
  875. ------------------------------------------------------------
  876. SYNTAX: N = LEN( A$ )
  877. PARAMETER: A$ is a string, LEN >= 0
  878. DESCRIPTION: The length of A$.
  879. ------------------------------------------------------------
  880. SYNTAX: N = LOC( X )
  881. PARAMETER: X is a number, [MININT,MAXINT]
  882. DESCRIPTION: The location of file X; the next record that
  883. GET or PUT statements will use.
  884. ------------------------------------------------------------
  885. SYNTAX: N = LOF( X )
  886. PARAMETER: X is a number, [MININT,MAXINT]
  887. DESCRIPTION: The length of file X.
  888. ------------------------------------------------------------
  889. SYNTAX: N = LOG( X )
  890. PARAMETER: X is a number, > 0
  891. DESCRIPTION: The natural logarithm of X; X shall be greater
  892. than zero.
  893. ------------------------------------------------------------
  894. SYNTAX: N = NUM
  895. DESCRIPTION: The number of values processed by the last MAT
  896. INPUT. Zero means error.
  897. ------------------------------------------------------------
  898. SYNTAX: S$ = NUM$( X )
  899. PARAMETER: X is a number
  900. DESCRIPTION: The string generated by the print-statement as
  901. the numeric-representation of the value
  902. associated with X.
  903. ------------------------------------------------------------
  904. SYNTAX: N = RANDOM
  905. DESCRIPTION: Seeds the pseudo-random number generator with
  906. TIME.
  907. ------------------------------------------------------------
  908. SYNTAX: N = RANDOMIZE
  909. DESCRIPTION: Seeds the pseudo-random number generator with
  910. TIME.
  911. ------------------------------------------------------------
  912. SYNTAX: N = RANDOMIZE( X )
  913. PARAMETER: X is a number
  914. DESCRIPTION: Seeds the pseudo-random number generator with
  915. X.
  916. ------------------------------------------------------------
  917. SYNTAX: N = RND
  918. DESCRIPTION: The next pseudo-random number in an
  919. implementation-defined sequence of
  920. pseudo-random numbers uniformly distributed
  921. in the range 0 <= RND < 1.
  922. ------------------------------------------------------------
  923. SYNTAX: N = RND( X )
  924. PARAMETER: X is a number
  925. DESCRIPTION: Returns a pseudorandom number in the range
  926. [0,1]. The value of X is ignored.
  927. ------------------------------------------------------------
  928. SYNTAX: N = SGN( X )
  929. PARAMETER: X is a number
  930. DESCRIPTION: The sign of X: -1 if X < 0, 0 if X = 0, and +1
  931. if X > 0.
  932. ------------------------------------------------------------
  933. SYNTAX: N = SIN( X )
  934. PARAMETER: X is a number
  935. DESCRIPTION: The sine of X, where X is in radians.
  936. ------------------------------------------------------------
  937. SYNTAX: S$ = SPC( X )
  938. PARAMETER: X is a number
  939. DESCRIPTION: The string of X spaces. Only for use within
  940. the PRINT command.
  941. ------------------------------------------------------------
  942. SYNTAX: N = SQR( X )
  943. PARAMETER: X is a number, >= 0
  944. DESCRIPTION: The non-negative square root of X; X shall be
  945. non-negative.
  946. ------------------------------------------------------------
  947. SYNTAX: S$ = STR$( X )
  948. PARAMETER: X is a number
  949. DESCRIPTION: The string generated by the print-statement as
  950. the numeric-representation of the value
  951. associated with X.
  952. ------------------------------------------------------------
  953. SYNTAX: S$ = TAB( X )
  954. PARAMETER: X is a number
  955. DESCRIPTION: The string required to advance to column X.
  956. Only for use within the PRINT command.
  957. ------------------------------------------------------------
  958. SYNTAX: N = TAN( X )
  959. PARAMETER: X is a number
  960. DESCRIPTION: The tangent of X, where X is in radians.
  961. ------------------------------------------------------------
  962. SYNTAX: N = TIM
  963. DESCRIPTION: The time elapsed since the previous midnight,
  964. expressed in seconds; e.g., the value of TIME
  965. at 11:15 AM is 40500. If there is no clock
  966. available, then the value of TIME shall be
  967. -1. The value of TIME at midnight shall be
  968. zero (not 86400).
  969. ------------------------------------------------------------
  970. SYNTAX: N = TIM( X )
  971. PARAMETER: X is a number, [0,255]
  972. DESCRIPTION: If X is 0, returns minutes in current hour.
  973. If X is 1, returns hours in current day. If
  974. X is 2, returns days in current year. If X
  975. is 3, returns years since 1900. Any other
  976. value for X is an ERROR.
  977. ------------------------------------------------------------
  978. SYNTAX: N = UNSAVE( A$ )
  979. PARAMETER: A$ is a string, LEN >= 1
  980. DESCRIPTION: Removes the file named in A$.
  981. ------------------------------------------------------------
  982. SYNTAX: N = VAL( A$ )
  983. PARAMETER: A$ is a string, LEN >= 1
  984. DESCRIPTION: The value of the numeric-constant associated
  985. with A$, if the string associated with A$ is
  986. a numeric-constant. Leading and trailing
  987. spaces in the string are ignored. If the
  988. evaluation of the numeric-constant would
  989. result in a value which causes an underflow,
  990. then the value returned shall be zero. For
  991. example, VAL( " 123.5 " ) = 123.5, VAL(
  992. "2.E-99" ) could be zero, and VAL( "MCMXVII"
  993. ) causes an exception.
  994. ------------------------------------------------------------
  995. ============================================================
  996. OPERATORS
  997. ============================================================
  998. ------------------------------------------------------------
  999. SYNTAX: X ** Y
  1000. DESCRIPTION: Exponential
  1001. PRECEDENCE: 14
  1002. ------------------------------------------------------------
  1003. SYNTAX: X ^ Y
  1004. DESCRIPTION: Exponential
  1005. PRECEDENCE: 14
  1006. ------------------------------------------------------------
  1007. SYNTAX: # X
  1008. DESCRIPTION: Posation
  1009. PRECEDENCE: 13
  1010. ------------------------------------------------------------
  1011. SYNTAX: + X
  1012. DESCRIPTION: Posation
  1013. PRECEDENCE: 13
  1014. ------------------------------------------------------------
  1015. SYNTAX: - X
  1016. DESCRIPTION: Negation
  1017. PRECEDENCE: 13
  1018. ------------------------------------------------------------
  1019. SYNTAX: X * Y
  1020. DESCRIPTION: Multiplication
  1021. PRECEDENCE: 12
  1022. ------------------------------------------------------------
  1023. SYNTAX: X / Y
  1024. DESCRIPTION: Division
  1025. PRECEDENCE: 12
  1026. ------------------------------------------------------------
  1027. SYNTAX: X \ Y
  1028. DESCRIPTION: Integer Division
  1029. PRECEDENCE: 11
  1030. ------------------------------------------------------------
  1031. SYNTAX: X + Y
  1032. DESCRIPTION: Addition
  1033. PRECEDENCE: 9
  1034. ------------------------------------------------------------
  1035. SYNTAX: X - Y
  1036. DESCRIPTION: Subtraction
  1037. PRECEDENCE: 9
  1038. ------------------------------------------------------------
  1039. SYNTAX: X < Y
  1040. DESCRIPTION: Less than
  1041. PRECEDENCE: 7
  1042. ------------------------------------------------------------
  1043. SYNTAX: X <= Y
  1044. DESCRIPTION: Less than or Equal
  1045. PRECEDENCE: 7
  1046. ------------------------------------------------------------
  1047. SYNTAX: X <> Y
  1048. DESCRIPTION: Not Equal
  1049. PRECEDENCE: 7
  1050. ------------------------------------------------------------
  1051. SYNTAX: X = Y
  1052. DESCRIPTION: Equal
  1053. PRECEDENCE: 7
  1054. ------------------------------------------------------------
  1055. SYNTAX: X =< Y
  1056. DESCRIPTION: Less than or Equal
  1057. PRECEDENCE: 7
  1058. ------------------------------------------------------------
  1059. SYNTAX: X => Y
  1060. DESCRIPTION: Greater than or Equal
  1061. PRECEDENCE: 7
  1062. ------------------------------------------------------------
  1063. SYNTAX: X > Y
  1064. DESCRIPTION: Greater than
  1065. PRECEDENCE: 7
  1066. ------------------------------------------------------------
  1067. SYNTAX: X >< Y
  1068. DESCRIPTION: Not Equal
  1069. PRECEDENCE: 7
  1070. ------------------------------------------------------------
  1071. SYNTAX: X >= Y
  1072. DESCRIPTION: Greater than or Equal
  1073. PRECEDENCE: 7
  1074. ------------------------------------------------------------
  1075. SYNTAX: NOT X
  1076. DESCRIPTION: Bitwise NOT
  1077. PRECEDENCE: 6
  1078. ------------------------------------------------------------
  1079. SYNTAX: X AND Y
  1080. DESCRIPTION: Bitwise AND
  1081. PRECEDENCE: 5
  1082. ------------------------------------------------------------
  1083. SYNTAX: X OR Y
  1084. DESCRIPTION: Bitwise OR
  1085. PRECEDENCE: 4
  1086. ------------------------------------------------------------
  1087. SYNTAX: X XOR Y
  1088. DESCRIPTION: Bitwise Exclusive OR
  1089. PRECEDENCE: 3
  1090. ------------------------------------------------------------
  1091. SYNTAX: X EQV Y
  1092. DESCRIPTION: Bitwise EQV
  1093. PRECEDENCE: 2
  1094. ------------------------------------------------------------
  1095. SYNTAX: X IMP Y
  1096. DESCRIPTION: Bitwise IMP
  1097. PRECEDENCE: 1
  1098. ------------------------------------------------------------