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.
 
 
 
 
 
 

1111 lines
47 KiB

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