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.
 
 
 
 
 
 

1605 lines
69 KiB

  1. ============================================================
  2. GENERAL
  3. ============================================================
  4. OPTION VERSION "TRS-80"
  5. REM INTERNAL ID: T80
  6. REM DESCRIPTION: TRS-80 Model I/III/4 LBASIC
  7. REM REFERENCE: LBASIC USER'S GUIDE
  8. REM by Galactic Software, Ltd.
  9. REM (c) 1981, Galactic Software, Ltd.
  10. REM http://www.tim-mann.org/trs80/doc/
  11. REM lbasic.txt
  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 128
  24. OPTION DATE ""
  25. OPTION TIME "%m/%d/%y %H:%M:%S"
  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: AS
  60. DESCRIPTION: Syntax Error.
  61. ------------------------------------------------------------
  62. SYNTAX: AUTO [start [, increment]]
  63. DESCRIPTION: Automatic line numbering for manual program
  64. entry. If the line already exists, then an
  65. asterisk is displayed and pressing ENTER
  66. leaves the line as-is. If the line does not
  67. exist, then an asterisk is not displayed and
  68. pressing ENTER terminates AUTO mode.
  69. Regardless whether the line exists, entering
  70. the command MAN will terminate AUTO mode.
  71. AUTO mode is also terminated by any ERROR or
  72. by pressing control-C.
  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: CLOAD [filename$]
  85. DESCRIPTION: Loads an ASCII BASIC program into memory.
  86. ------------------------------------------------------------
  87. SYNTAX: CLOAD* arrayname
  88. DESCRIPTION: Loads a numeric array from a file saved using
  89. CSAVE*.
  90. ------------------------------------------------------------
  91. SYNTAX: COMMON variable [, ...]
  92. DESCRIPTION: Designates variables to be passed to a CHAINed
  93. program.
  94. ------------------------------------------------------------
  95. SYNTAX: CONT
  96. DESCRIPTION: Continue a BASIC program after a STOP has been
  97. executed. Program resumes at the line after
  98. the STOP.
  99. ------------------------------------------------------------
  100. SYNTAX: CSAVE [filename$]
  101. DESCRIPTION: Saves the current program into the file
  102. filename$ in ASCII format.
  103. ------------------------------------------------------------
  104. SYNTAX: CSAVE* ArrayName
  105. DESCRIPTION: Saves a numeric array into a file for later
  106. loading by CLOAD*.
  107. ------------------------------------------------------------
  108. SYNTAX: DATA constant [, ...]
  109. DESCRIPTION: Stores numeric and string constants to be
  110. accessed by READ.
  111. ------------------------------------------------------------
  112. SYNTAX: DEF FNname[( arg [,...] )] = value
  113. DESCRIPTION: Defines a single-line function. Single-line
  114. functions require an equal sign.
  115. ------------------------------------------------------------
  116. SYNTAX: DEF FNname[( arg [,...] )]
  117. DESCRIPTION: Defines a multiline function. Multi-line DEF
  118. functions do not have an equal sign and must
  119. end with FNEND.
  120. ------------------------------------------------------------
  121. SYNTAX: DEFDBL letter[-letter] [, ...]
  122. DESCRIPTION: Declares variables with single-letter names as
  123. numeric variables.
  124. ------------------------------------------------------------
  125. SYNTAX: DEFINT letter[-letter] [, ...]
  126. DESCRIPTION: Declares variables with single-letter names as
  127. numeric variables.
  128. ------------------------------------------------------------
  129. SYNTAX: DEFSNG letter[-letter] [, ...]
  130. DESCRIPTION: Declares variables with single-letter names as
  131. numeric variables.
  132. ------------------------------------------------------------
  133. SYNTAX: DEFSTR letter[-letter] [, ...]
  134. DESCRIPTION: Declares variables with single-letter names as
  135. string variables.
  136. ------------------------------------------------------------
  137. SYNTAX: DELETE line [- line]
  138. DESCRIPTION: Deletes program lines indicated by the
  139. argument(s). All program lines have a
  140. number, which is visible with the LIST
  141. command. If line numbers are not provided,
  142. they are assigned beginning with 1. Deleting
  143. a non-existing line does not cause an error.
  144. ------------------------------------------------------------
  145. SYNTAX: DIM [# filenum,] variable([ lower TO ] upper)
  146. DESCRIPTION: Declares variables and specifies the
  147. dimensions of array variables. For array
  148. variables, if the lower bound is not
  149. provided, then the OPTION BASE value is used.
  150. If filenum is provided, then the variable is
  151. virtual.
  152. ------------------------------------------------------------
  153. SYNTAX: EDIT
  154. DESCRIPTION: implementation defined.
  155. ------------------------------------------------------------
  156. SYNTAX: ELSE
  157. DESCRIPTION: Introduces a default condition in a multi-line
  158. IF statement.
  159. ------------------------------------------------------------
  160. SYNTAX: ELSEIF
  161. DESCRIPTION: Introduces a secondary condition in a
  162. multi-line IF statement.
  163. ------------------------------------------------------------
  164. SYNTAX: END
  165. DESCRIPTION: Terminates program execution. If the BASIC
  166. program was executed from the operating
  167. system level, then control returns to the
  168. operating system, oterwise control reuturns
  169. to the BASIC prompt.
  170. ------------------------------------------------------------
  171. SYNTAX: END IF
  172. DESCRIPTION: Specifies the last line of a multi-line IF
  173. definition.
  174. ------------------------------------------------------------
  175. SYNTAX: ERASE variable [, ...]
  176. DESCRIPTION: Eliminates arrayed variables from a program.
  177. ------------------------------------------------------------
  178. SYNTAX: FIELD [#] filenum, number AS variable$ [, ...]
  179. DESCRIPTION: Assigns number bytes in the buffer of random
  180. file filenum to the variable variable$. GET
  181. will automatically update the variable, and
  182. PUT will automatically use the variable.
  183. ------------------------------------------------------------
  184. SYNTAX: FNEND
  185. DESCRIPTION: Specifies the last line of a multi-line DEF
  186. function.
  187. ------------------------------------------------------------
  188. SYNTAX: FOR variable = start TO finish [STEP
  189. increment]
  190. DESCRIPTION: Top of a FOR - NEXT structure. The loop will
  191. continue a fixed number of times, which is
  192. determined by the values of start, finish,
  193. and increment.
  194. ------------------------------------------------------------
  195. SYNTAX: GO
  196. DESCRIPTION: Syntax Error.
  197. ------------------------------------------------------------
  198. SYNTAX: GO SUB line
  199. DESCRIPTION: Initiates a subroutine call to the line
  200. specified. The subroutine must end with
  201. RETURN. The line may be a number or a label.
  202. ------------------------------------------------------------
  203. SYNTAX: GO TO line
  204. DESCRIPTION: Branches program execution to the specified
  205. line. The line may be a number or a label.
  206. ------------------------------------------------------------
  207. SYNTAX: GOSUB line
  208. DESCRIPTION: Initiates a subroutine call to the line
  209. specified. The subroutine must end with
  210. RETURN. The line may be a number or a label.
  211. ------------------------------------------------------------
  212. SYNTAX: GOTO line
  213. DESCRIPTION: Branches program execution to the specified
  214. line. The line may be a number or a label.
  215. ------------------------------------------------------------
  216. SYNTAX: IF value THEN line1 [ELSE line2]
  217. DESCRIPTION: Single line standard IF command. If the value
  218. is non-zero, then branh to line1. If the
  219. value is zero and ELSE is provided, then
  220. branch to line2. Otherwise continue to the
  221. next line. LABELS are not allowed.
  222. ------------------------------------------------------------
  223. SYNTAX: IF value THEN
  224. DESCRIPTION: Top of a multi-line IF - END IF structure. If
  225. the value is non-zero, then the program lines
  226. upto the next ELSE or ELSE IF command are
  227. executed, otherwise the program branches to
  228. the next ELSE or ELSE IF command.
  229. ------------------------------------------------------------
  230. SYNTAX: INPUT "prompt string" , variable [, ...]
  231. DESCRIPTION: Reads input from the terminal after displaying
  232. a prompt.
  233. ------------------------------------------------------------
  234. SYNTAX: INPUT # filenum , variable [, ...]s
  235. DESCRIPTION: Reads input from the file specified by
  236. filenum.
  237. ------------------------------------------------------------
  238. SYNTAX: INPUT variable [, ...]
  239. DESCRIPTION: Reads input from the terminal.
  240. ------------------------------------------------------------
  241. SYNTAX: INPUT LINE variable$
  242. DESCRIPTION: Reads entire line from the terminal into
  243. variable$.
  244. ------------------------------------------------------------
  245. SYNTAX: INPUT LINE # filenum , variable$
  246. DESCRIPTION: Reads entire line from a file into variable$.
  247. ------------------------------------------------------------
  248. SYNTAX: INPUT LINE "prompt string" , variable$
  249. DESCRIPTION: Reads entire line from the terminal into
  250. variable$ after displaying a prompt
  251. ------------------------------------------------------------
  252. SYNTAX: [LET] variable [, ...] = value
  253. DESCRIPTION: Assigns the value to the variable. The LET
  254. keyword is optional.
  255. ------------------------------------------------------------
  256. SYNTAX: LINE
  257. DESCRIPTION: Syntax Error.
  258. ------------------------------------------------------------
  259. SYNTAX: LINE INPUT [[#] filenum,]["prompt string";]
  260. variable$
  261. DESCRIPTION: Reads entire line from the keyboard or a file
  262. into variable$.
  263. ------------------------------------------------------------
  264. SYNTAX: LIST line1 [- line2]
  265. DESCRIPTION: Lists BASIC program lines from line1 to line2
  266. to the console on stdout.
  267. ------------------------------------------------------------
  268. SYNTAX: LLIST line1 [- line2]
  269. DESCRIPTION: Lists BASIC program lines from line1 to line2
  270. to the printer on stderr.
  271. ------------------------------------------------------------
  272. SYNTAX: LOAD [filename$]
  273. DESCRIPTION: Loads an ASCII BASIC program into memory.
  274. ------------------------------------------------------------
  275. SYNTAX: LPRINT [USING format-string$;] value ...
  276. DESCRIPTION: Send output to the printer (stderr).
  277. ------------------------------------------------------------
  278. SYNTAX: LSET variable$ = value
  279. DESCRIPTION: Left-aligns the value into variable$. If the
  280. length of the value is too short, then it is
  281. padded on the right with spaces. If the
  282. length of the value is too long, then it is
  283. truncated on the right. This is only for use
  284. with variables assigned to a random access
  285. buffer with FIELD command.
  286. ------------------------------------------------------------
  287. SYNTAX: MAINTAINER
  288. DESCRIPTION: This command is reserved for use by the
  289. Bywater BASIC maintainer. It is not for the
  290. BASIC programmer.
  291. ------------------------------------------------------------
  292. SYNTAX: MAINTAINER CMDS
  293. DESCRIPTION: Syntax Error.
  294. ------------------------------------------------------------
  295. SYNTAX: MAINTAINER CMDS HTML
  296. DESCRIPTION: Dump COMMAND vs VERSION as HTML table
  297. ------------------------------------------------------------
  298. SYNTAX: MAINTAINER CMDS ID
  299. DESCRIPTION: Dump COMMAND #define.
  300. ------------------------------------------------------------
  301. SYNTAX: MAINTAINER CMDS MANUAL
  302. DESCRIPTION: Dump COMMAND manual.
  303. ------------------------------------------------------------
  304. SYNTAX: MAINTAINER CMDS_SWITCH
  305. DESCRIPTION: Dump COMMAND switch.
  306. ------------------------------------------------------------
  307. SYNTAX: MAINTAINER CMDS TABLE
  308. DESCRIPTION: Dump COMMAND table.
  309. ------------------------------------------------------------
  310. SYNTAX: MAINTAINER DEBUG
  311. DESCRIPTION: Syntax Error.
  312. ------------------------------------------------------------
  313. SYNTAX: MAINTAINER DEBUG OFF
  314. DESCRIPTION: Disable degug tracing.
  315. ------------------------------------------------------------
  316. SYNTAX: MAINTAINER DEBUG ON
  317. DESCRIPTION: Enable degug tracing.
  318. ------------------------------------------------------------
  319. SYNTAX: MAINTAINER FNCS
  320. DESCRIPTION: Syntax Error.
  321. ------------------------------------------------------------
  322. SYNTAX: MAINTAINER FNCS HTML
  323. DESCRIPTION: Dump FUNCTION vs VERSION as HTML table.
  324. ------------------------------------------------------------
  325. SYNTAX: MAINTAINER FNCS ID
  326. DESCRIPTION: Dump FUNCTION #define.
  327. ------------------------------------------------------------
  328. SYNTAX: MAINTAINER FNCS MANUAL
  329. DESCRIPTION: Dump FUNCTION manual.
  330. ------------------------------------------------------------
  331. SYNTAX: MAINTAINER FNCS SWITCH
  332. DESCRIPTION: Dump FUNCTION switch.
  333. ------------------------------------------------------------
  334. SYNTAX: MAINTAINER FNCS TABLE
  335. DESCRIPTION: Dump FUNCTION table.
  336. ------------------------------------------------------------
  337. SYNTAX: MAINTAINER MANUAL
  338. DESCRIPTION: Dump manual for the currently selected OPTION
  339. VERSION.
  340. ------------------------------------------------------------
  341. SYNTAX: MAINTAINER STACK
  342. DESCRIPTION: Dump the BASIC stack.
  343. ------------------------------------------------------------
  344. SYNTAX: MERGE filename$
  345. DESCRIPTION: Merges the BASIC program in filename$ into the
  346. current BASIC program. Lines in filename$
  347. replace any matching lines in the current
  348. program.
  349. ------------------------------------------------------------
  350. SYNTAX: MID$( variable$, start [, count ] ) = value
  351. DESCRIPTION: Replaces a subtring of variable$ with value.
  352. ------------------------------------------------------------
  353. SYNTAX: NAME old$ AS new$
  354. DESCRIPTION: Changes the name of an existing file.
  355. ------------------------------------------------------------
  356. SYNTAX: NEW
  357. DESCRIPTION: Deletes the program in memory and clears all
  358. variables.
  359. ------------------------------------------------------------
  360. SYNTAX: NEXT [variable]
  361. DESCRIPTION: The bottom line of a FOR - NEXT structure.
  362. ------------------------------------------------------------
  363. SYNTAX: OF
  364. DESCRIPTION: Syntax Error.
  365. ------------------------------------------------------------
  366. SYNTAX: ON value GOSUB line [, ...]
  367. DESCRIPTION: Calls based on the rounded value.
  368. ------------------------------------------------------------
  369. SYNTAX: ON value GOTO line [, ...]
  370. DESCRIPTION: Branches based on the rounded value.
  371. ------------------------------------------------------------
  372. SYNTAX: ON ERROR
  373. DESCRIPTION: Syntax Error.
  374. ------------------------------------------------------------
  375. SYNTAX: ON ERROR GOTO errline
  376. DESCRIPTION: When a trappable error occurs, execute GOTO
  377. errline. The error handler must terminate
  378. with a RESUME command. If the line number is
  379. 0 (zerp), then use the default error handler.
  380. Valid when OPTION ERROR GOTO.
  381. ------------------------------------------------------------
  382. SYNTAX: ON ERROR RESUME
  383. DESCRIPTION: Syntax Error.
  384. ------------------------------------------------------------
  385. SYNTAX: ON ERROR RESUME NEXT
  386. DESCRIPTION: When a trappable error occurs, execution
  387. continues with the next line. Valid when
  388. OPTION ERROR GOTO.
  389. ------------------------------------------------------------
  390. SYNTAX: OPEN filename$
  391. FOR INPUT|OUTPUT|APPEND|BINARY|RANDOM|VIRTUAL
  392. AS [#] fileenumber
  393. [LEN [=] record-length]
  394. DESCRIPTION: Opens a file for use.
  395. RANDOM requires LEN.
  396. ------------------------------------------------------------
  397. SYNTAX: OPTION
  398. DESCRIPTION: Syntax Error.
  399. ------------------------------------------------------------
  400. SYNTAX: OPTION ANGLE
  401. DESCRIPTION: Syntax Error.
  402. ------------------------------------------------------------
  403. SYNTAX: OPTION ANGLE DEGREES
  404. DESCRIPTION: Configures these math functions to accept and
  405. return angles in degrees: ACOS, ACS, ANGLE,
  406. ARCSIN, ASIN, ASN, ARCTAN, ATN, ATAN, COS,
  407. COT, CSC, SEC, SIN and TAN.
  408. ------------------------------------------------------------
  409. SYNTAX: OPTION ANGLE GRADIANS
  410. DESCRIPTION: Configures these math functions to accept and
  411. return angles in gradians: ACOS, ANGLE,
  412. ASIN, ASN, ATN, ATAN, COS, COT, CSC, SEC, SIN
  413. and TAN.
  414. ------------------------------------------------------------
  415. SYNTAX: OPTION ANGLE RADIANS
  416. DESCRIPTION: Configures these math functions to accept and
  417. return angles in radians: ACOS, ANGLE, ASIN,
  418. ASN, ATN, ATAN, COS, COT, CSC, SEC, SIN and
  419. TAN.
  420. ------------------------------------------------------------
  421. SYNTAX: OPTION ARITHMETIC
  422. DESCRIPTION: Syntax Error.
  423. ------------------------------------------------------------
  424. SYNTAX: OPTION ARITHMETIC DECIMAL
  425. DESCRIPTION: Currently has no effect.
  426. ------------------------------------------------------------
  427. SYNTAX: OPTION ARITHMETIC FIXED
  428. DESCRIPTION: Currently has no effect.
  429. ------------------------------------------------------------
  430. SYNTAX: OPTION ARITHMETIC NATIVE
  431. DESCRIPTION: Currently has no effect.
  432. ------------------------------------------------------------
  433. SYNTAX: OPTION BASE integer
  434. DESCRIPTION: Sets the default lowest array subscript.
  435. ------------------------------------------------------------
  436. SYNTAX: OPTION BUGS
  437. DESCRIPTION: Syntax Error.
  438. ------------------------------------------------------------
  439. SYNTAX: OPTION BUGS BOOLEAN
  440. DESCRIPTION: Boolean results are 1 or 0 instead of bitwise.
  441. ------------------------------------------------------------
  442. SYNTAX: OPTION BUGS OFF
  443. DESCRIPTION: Disables bugs commonly found in many BASIC
  444. dialects.
  445. ------------------------------------------------------------
  446. SYNTAX: OPTION BUGS ON
  447. DESCRIPTION: Enables bugs commonly found in many BASIC
  448. dialects.
  449. ------------------------------------------------------------
  450. SYNTAX: OPTION COMPARE
  451. DESCRIPTION: Syntax Error.
  452. ------------------------------------------------------------
  453. SYNTAX: OPTION COMPARE BINARY
  454. DESCRIPTION: Causes string comparisons to be
  455. case-sensitive.
  456. ------------------------------------------------------------
  457. SYNTAX: OPTION COMPARE DATABASE
  458. DESCRIPTION: Causes string comparisons to be
  459. case-insensitive.
  460. ------------------------------------------------------------
  461. SYNTAX: OPTION COMPARE TEXT
  462. DESCRIPTION: Causes string comparisons to be
  463. case-insensitive.
  464. ------------------------------------------------------------
  465. SYNTAX: OPTION COVERAGE
  466. DESCRIPTION: Syntax Error.
  467. ------------------------------------------------------------
  468. SYNTAX: OPTION COVERAGE OFF
  469. DESCRIPTION: Disables BASIC code coverage recording,
  470. displayed using the LIST command.
  471. ------------------------------------------------------------
  472. SYNTAX: OPTION COVERAGE ON
  473. DESCRIPTION: Enables BASIC code coverage recording,
  474. displayed using the LIST command.
  475. ------------------------------------------------------------
  476. SYNTAX: OPTION DATE format$
  477. DESCRIPTION: Sets the date format string used by C
  478. strftime() for DATE$.
  479. ------------------------------------------------------------
  480. SYNTAX: OPTION DIGITS integer
  481. DESCRIPTION: Sets the number of significant digits for
  482. PRINT. Setting the value to zero restores
  483. the default.
  484. ------------------------------------------------------------
  485. SYNTAX: OPTION DISABLE
  486. DESCRIPTION: Syntax Error.
  487. ------------------------------------------------------------
  488. SYNTAX: OPTION DISABLE COMMAND name$
  489. DESCRIPTION: Disables the specified BASIC command.
  490. ------------------------------------------------------------
  491. SYNTAX: OPTION DISABLE FUNCTION name$
  492. DESCRIPTION: Disables the specified BASIC function.
  493. ------------------------------------------------------------
  494. SYNTAX: OPTION DISABLE OPERATOR name$
  495. DESCRIPTION: Disables the specified BASIC operator.
  496. ------------------------------------------------------------
  497. SYNTAX: OPTION EDIT string$
  498. DESCRIPTION: Sets the program name used by the EDIT
  499. command.
  500. ------------------------------------------------------------
  501. SYNTAX: OPTION ENABLE
  502. DESCRIPTION: Syntax Error.
  503. ------------------------------------------------------------
  504. SYNTAX: OPTION ENABLE COMMAND name$
  505. DESCRIPTION: Enables the specified BASIC command.
  506. ------------------------------------------------------------
  507. SYNTAX: OPTION ENABLE FUNCTION name$
  508. DESCRIPTION: Enables the specified BASIC function.
  509. ------------------------------------------------------------
  510. SYNTAX: OPTION ENABLE OPERATOR name$
  511. DESCRIPTION: Enables the specified BASIC operator.
  512. ------------------------------------------------------------
  513. SYNTAX: OPTION ERROR
  514. DESCRIPTION: Syntax Error.
  515. ------------------------------------------------------------
  516. SYNTAX: OPTION ERROR GOSUB
  517. DESCRIPTION: When an error occurs, GOSUB to the error
  518. handler. The error handler exits with
  519. RETURN.
  520. ------------------------------------------------------------
  521. SYNTAX: OPTION ERROR GOTO
  522. DESCRIPTION: When an error occurs, GOTO to the error
  523. handler. The error handler exits with
  524. RESUME.
  525. ------------------------------------------------------------
  526. SYNTAX: OPTION EXPLICIT
  527. DESCRIPTION: All variables must be declared using DIM.
  528. ------------------------------------------------------------
  529. SYNTAX: OPTION EXTENSION string$
  530. DESCRIPTION: Sets the BASIC filename extension, commonly
  531. ".bas".
  532. ------------------------------------------------------------
  533. SYNTAX: OPTION FILES string$
  534. DESCRIPTION: Sets the program name used by the FILES
  535. command.
  536. ------------------------------------------------------------
  537. SYNTAX: OPTION IMPLICIT
  538. DESCRIPTION: Variables need not be declared using DIM,
  539. provided arrays have no more that 10
  540. elements. This is the opposite of OPTION
  541. EXPLICIT, and is the default for all versions
  542. of BASIC.
  543. ------------------------------------------------------------
  544. SYNTAX: OPTION INDENT integer
  545. DESCRIPTION: Sets indention level for LIST. Zero means no
  546. indention. Default is 2.
  547. ------------------------------------------------------------
  548. SYNTAX: OPTION LABELS
  549. DESCRIPTION: Syntax Error.
  550. ------------------------------------------------------------
  551. SYNTAX: OPTION LABELS OFF
  552. DESCRIPTION: Disables text labels.
  553. ------------------------------------------------------------
  554. SYNTAX: OPTION LABELS ON
  555. DESCRIPTION: Enables text labels.
  556. ------------------------------------------------------------
  557. SYNTAX: OPTION PROMPT string$
  558. DESCRIPTION: Sets the BASIC prompt.
  559. ------------------------------------------------------------
  560. SYNTAX: OPTION PUNCT
  561. DESCRIPTION: Syntax Error.
  562. ------------------------------------------------------------
  563. SYNTAX: OPTION PUNCT AT char$
  564. DESCRIPTION: Sets the PRINT AT character, commonly "@".
  565. ------------------------------------------------------------
  566. SYNTAX: OPTION PUNCT BYTE char$
  567. DESCRIPTION: Sets the suffix character that indicates a
  568. variable is of type BYTE, commonly "~".
  569. ------------------------------------------------------------
  570. SYNTAX: OPTION PUNCT COMMENT char$
  571. DESCRIPTION: Sets the shortcut COMMENT character.
  572. ------------------------------------------------------------
  573. SYNTAX: OPTION PUNCT CURRENCY char$
  574. DESCRIPTION: Sets the suffix character that indicates a
  575. variable is of type CURRENCY, commonly "@".
  576. ------------------------------------------------------------
  577. SYNTAX: OPTION PUNCT DOUBLE char$
  578. DESCRIPTION: Sets the suffix character that indicates a
  579. variable is of type DOUBLE, commonly "#".
  580. ------------------------------------------------------------
  581. SYNTAX: OPTION PUNCT FILENUM char$
  582. DESCRIPTION: Sets the FILE NUMBER prefix character,
  583. commonly "#".
  584. ------------------------------------------------------------
  585. SYNTAX: OPTION PUNCT IMAGE char$
  586. DESCRIPTION: Sets the shortcut IMAGE character, commonly
  587. ":".
  588. ------------------------------------------------------------
  589. SYNTAX: OPTION PUNCT INPUT char$
  590. DESCRIPTION: Sets the shortcut INPUT character, commonly
  591. "!".
  592. ------------------------------------------------------------
  593. SYNTAX: OPTION PUNCT INTEGER char$
  594. DESCRIPTION: Sets the suffix character that indicates a
  595. variable is of type INTEGER, commonly "%".
  596. ------------------------------------------------------------
  597. SYNTAX: OPTION PUNCT LONG char$
  598. DESCRIPTION: Sets the suffix character that indicates a
  599. variable is of type LONG, commonly "&".
  600. ------------------------------------------------------------
  601. SYNTAX: OPTION PUNCT LPAREN char$
  602. DESCRIPTION: Sets the LEFT PARENTHESIS character, commonly
  603. "(".
  604. ------------------------------------------------------------
  605. SYNTAX: OPTION PUNCT_PRINT char$
  606. DESCRIPTION: Sets the shortcut PRINT character, commonly
  607. "?".
  608. ------------------------------------------------------------
  609. SYNTAX: OPTION PUNCT QUOTE char$
  610. DESCRIPTION: Sets the QUOTE character, commonly """
  611. ------------------------------------------------------------
  612. SYNTAX: OPTION PUNCT RPAREN char$
  613. DESCRIPTION: Sets the RIGHT PARENTHESIS character, commonly
  614. ")".
  615. ------------------------------------------------------------
  616. SYNTAX: OPTION PUNCT SINGLE char$
  617. DESCRIPTION: Sets the suffix character that indicates a
  618. variable is of type SINGLE, commonly "!".
  619. ------------------------------------------------------------
  620. SYNTAX: OPTION PUNCT STATEMENT char$
  621. DESCRIPTION: Sets the statement seperator character,
  622. commonly ":".
  623. ------------------------------------------------------------
  624. SYNTAX: OPTION PUNCT STRING char$
  625. DESCRIPTION: Sets the suffix character that indicates a
  626. variable is of type STRING, commonly "$".
  627. ------------------------------------------------------------
  628. SYNTAX: OPTION RECLEN integer
  629. DESCRIPTION: Sets the default RANDOM record length.
  630. ------------------------------------------------------------
  631. SYNTAX: OPTION RENUM string$
  632. DESCRIPTION: Sets the program name used by the RENUM
  633. command.
  634. ------------------------------------------------------------
  635. SYNTAX: OPTION ROUND
  636. DESCRIPTION: Syntax Error.
  637. ------------------------------------------------------------
  638. SYNTAX: OPTION ROUND BANK
  639. DESCRIPTION: Round using the Banker rule.
  640. ------------------------------------------------------------
  641. SYNTAX: OPTION ROUND MATH
  642. DESCRIPTION: Round using mathematical rules.
  643. ------------------------------------------------------------
  644. SYNTAX: OPTION ROUND TRUNCATE
  645. DESCRIPTION: Round using truncation.
  646. ------------------------------------------------------------
  647. SYNTAX: OPTION SCALE integer
  648. DESCRIPTION: Sets the number of digits to round after the
  649. decimal point for PRINT. Setting the value
  650. to zero disables rounding.
  651. ------------------------------------------------------------
  652. SYNTAX: OPTION SLEEP double
  653. DESCRIPTION: Sets multiplier for SLEEP and WAIT. Zero
  654. means no waiting. Default is 1.
  655. ------------------------------------------------------------
  656. SYNTAX: OPTION STDERR filename$
  657. DESCRIPTION: Sets the file used for STDERR, which is used
  658. by LPRINT commands.
  659. ------------------------------------------------------------
  660. SYNTAX: OPTION STDIN filename$
  661. DESCRIPTION: Sets the file used for STDIN, which is used by
  662. INPUT commands.
  663. ------------------------------------------------------------
  664. SYNTAX: OPTION STDOUT filename$
  665. DESCRIPTION: Sets the file used for STDOUT, which is used
  666. by PRINT commands.
  667. ------------------------------------------------------------
  668. SYNTAX: OPTION STRICT
  669. DESCRIPTION: Syntax Error.
  670. ------------------------------------------------------------
  671. SYNTAX: OPTION STRICT OFF
  672. DESCRIPTION: Disables checking for implicit array creation
  673. without using the DIM command.
  674. ------------------------------------------------------------
  675. SYNTAX: OPTION STRICT ON
  676. DESCRIPTION: Enables checking for implicit array creation
  677. without using the DIM command.
  678. ------------------------------------------------------------
  679. SYNTAX: OPTION TERMINAL
  680. DESCRIPTION: Syntax Error.
  681. ------------------------------------------------------------
  682. SYNTAX: OPTION TERMINAL ADM
  683. DESCRIPTION: Enables ADM-3A terminal control codes for CLS,
  684. COLOR, and LOCATE.
  685. ------------------------------------------------------------
  686. SYNTAX: OPTION TERMINAL ANSI
  687. DESCRIPTION: Enables ANSI terminal control codes for CLS,
  688. COLOR, and LOCATE.
  689. ------------------------------------------------------------
  690. SYNTAX: OPTION TERMINAL NONE
  691. DESCRIPTION: Disables terminal control codes for CLS,
  692. COLOR, and LOCATE.
  693. ------------------------------------------------------------
  694. SYNTAX: OPTION TIME format$
  695. DESCRIPTION: Sets the time format string used by C
  696. strftime() for TIME$.
  697. ------------------------------------------------------------
  698. SYNTAX: OPTION TRACE
  699. DESCRIPTION: Syntax Error.
  700. ------------------------------------------------------------
  701. SYNTAX: OPTION TRACE OFF
  702. DESCRIPTION: Disables displaying a stack trace when an
  703. ERROR occurs.
  704. ------------------------------------------------------------
  705. SYNTAX: OPTION TRACE ON
  706. DESCRIPTION: Enables displaying a stack trace when an ERROR
  707. occurs.
  708. ------------------------------------------------------------
  709. SYNTAX: OPTION USING
  710. DESCRIPTION: Syntax Error.
  711. ------------------------------------------------------------
  712. SYNTAX: OPTION USING ALL char$
  713. DESCRIPTION: Specifies the magic ALL character for the
  714. PRINT USING command. A common value is "&".
  715. ------------------------------------------------------------
  716. SYNTAX: OPTION USING COMMA char$
  717. DESCRIPTION: Specifies the magic COMMA character for the
  718. PRINT USING command. A common value is ",".
  719. ------------------------------------------------------------
  720. SYNTAX: OPTION USING DIGIT char$
  721. DESCRIPTION: Specifies the magic DIGIT character for the
  722. PRINT USING command. A common value is "#".
  723. ------------------------------------------------------------
  724. SYNTAX: OPTION USING DOLLAR char$
  725. DESCRIPTION: Specifies the magic DOLLAR character for the
  726. PRINT USING command. A common value is "$".
  727. ------------------------------------------------------------
  728. SYNTAX: OPTION USING EXRAD char$
  729. DESCRIPTION: Specifies the magic EXRAD character for the
  730. PRINT USING command. A common value is "^".
  731. ------------------------------------------------------------
  732. SYNTAX: OPTION USING FILLER char$
  733. DESCRIPTION: Specifies the magic FILLER character for the
  734. PRINT USING command. A common value is "*".
  735. ------------------------------------------------------------
  736. SYNTAX: OPTION USING FIRST char$
  737. DESCRIPTION: Specifies the magic FIRST character for the
  738. PRINT USING command. A common value is "!".
  739. ------------------------------------------------------------
  740. SYNTAX: OPTION USING LENGTH char$
  741. DESCRIPTION: Specifies the magic LENGTH character for the
  742. PRINT USING command. A common value is "\".
  743. ------------------------------------------------------------
  744. SYNTAX: OPTION USING LITERAL char$
  745. DESCRIPTION: Specifies the magic LITERAL character for the
  746. PRINT USING command. A common value is "_".
  747. ------------------------------------------------------------
  748. SYNTAX: OPTION USING MINUS char$
  749. DESCRIPTION: Specifies the magic MINUS character for the
  750. PRINT USING command. A common value is "-".
  751. ------------------------------------------------------------
  752. SYNTAX: OPTION USING PERIOD char$
  753. DESCRIPTION: Specifies the magic PERIOD character for the
  754. PRINT USING command. A common value is ".".
  755. ------------------------------------------------------------
  756. SYNTAX: OPTION USING PLUS char$
  757. DESCRIPTION: Specifies the magic PLUS character for the
  758. PRINT USING command. A common value is "+".
  759. ------------------------------------------------------------
  760. SYNTAX: OPTION VERSION version$
  761. DESCRIPTION: Selects a specific BASIC version, which is a
  762. combination of OPTION settings, commands,
  763. functions and operators. If no version is
  764. specified, displays a list of the available
  765. versions.
  766. ------------------------------------------------------------
  767. SYNTAX: OPTION ZONE integer
  768. DESCRIPTION: Sets the PRINT zone width. Setting the value
  769. to zero restores the default.
  770. ------------------------------------------------------------
  771. SYNTAX: PRINT # filenum , [USING format$;] value ...
  772. DESCRIPTION: Sends output to a file.
  773. ------------------------------------------------------------
  774. SYNTAX: PRINT [USING format$;] value ...
  775. DESCRIPTION: Sends output to the screen.
  776. ------------------------------------------------------------
  777. SYNTAX: READ variable [, ...]
  778. DESCRIPTION: Reads values from DATA statements.
  779. ------------------------------------------------------------
  780. SYNTAX: REM ...
  781. DESCRIPTION: Remark.
  782. ------------------------------------------------------------
  783. SYNTAX: RENUM
  784. DESCRIPTION: Implementation defined.
  785. ------------------------------------------------------------
  786. SYNTAX: RESTORE [line]
  787. DESCRIPTION: Resets the line used for the next READ
  788. statement. line may be either a number or a
  789. label.
  790. ------------------------------------------------------------
  791. SYNTAX: RESUME
  792. DESCRIPTION: Used in an error handler to specify the next
  793. line to execute. Branch to ERL.
  794. ------------------------------------------------------------
  795. SYNTAX: RESUME line
  796. DESCRIPTION: Used in an error handler to specify the next
  797. line to execute. Branch to the specified
  798. line.
  799. ------------------------------------------------------------
  800. SYNTAX: RESUME NEXT
  801. DESCRIPTION: Used in an error handler to specify the next
  802. line to execute. Branch to the line after
  803. ERL.
  804. ------------------------------------------------------------
  805. SYNTAX: RESUME 0
  806. DESCRIPTION: Used in an error handler to specify the next
  807. line to execute. Branch to ERL.
  808. ------------------------------------------------------------
  809. SYNTAX: RETURN
  810. DESCRIPTION: Concludes a subroutine called by GOSUB.
  811. ------------------------------------------------------------
  812. SYNTAX: RSET variable$ = value
  813. DESCRIPTION: Right-aligns the value into variable$. If the
  814. length of the value is too short, then it is
  815. padded on the left with spaces. If the
  816. length of the value is too long, then it is
  817. truncated on the right. This is only for use
  818. with variables assigned to a random access
  819. buffer with FIELD command.
  820. ------------------------------------------------------------
  821. SYNTAX: RUN filename$
  822. DESCRIPTION: Loads a new BAASIC program and executes the
  823. program from the start.
  824. ------------------------------------------------------------
  825. SYNTAX: RUN line
  826. DESCRIPTION: Executes the program in memory beginning at
  827. line.
  828. ------------------------------------------------------------
  829. SYNTAX: RUN
  830. DESCRIPTION: Executes the program in memory from the start.
  831. ------------------------------------------------------------
  832. SYNTAX: SAVE [filename$]
  833. DESCRIPTION: Saves the current program into the file
  834. filename$ in ASCII format.
  835. ------------------------------------------------------------
  836. SYNTAX: STEP
  837. DESCRIPTION: Syntax Error.
  838. ------------------------------------------------------------
  839. SYNTAX: STOP
  840. DESCRIPTION: Interrupts program execution and displays the
  841. line number of the STOP command. For use
  842. when debugging BASIC programs. Whether STOP
  843. issues a SIGINT signal is implementation
  844. defined.
  845. ------------------------------------------------------------
  846. SYNTAX: SWAP variable, variable
  847. DESCRIPTION: Swaps the values of two variables. Both
  848. variables must be of the same type.
  849. ------------------------------------------------------------
  850. SYNTAX: SYSTEM
  851. DESCRIPTION: Exits to the operating system.
  852. ------------------------------------------------------------
  853. SYNTAX: THEN
  854. DESCRIPTION: Syntax Error.
  855. ------------------------------------------------------------
  856. SYNTAX: TO
  857. DESCRIPTION: Syntax Error.
  858. ------------------------------------------------------------
  859. SYNTAX: WEND
  860. DESCRIPTION: Bottom of a WHILE - WEND structure.
  861. ------------------------------------------------------------
  862. SYNTAX: WHILE value
  863. DESCRIPTION: Top of a WHILE - WEND structure. If the value
  864. is non-zero, then the loop is terminated.
  865. ------------------------------------------------------------
  866. SYNTAX: WRITE # filenum, value [, .... ]
  867. DESCRIPTION: Outputs value to a file. Strings are quoted
  868. and each value is seperated by a omma.
  869. ------------------------------------------------------------
  870. SYNTAX: WRITE value [, .... ]
  871. DESCRIPTION: Outputs value to the screen. Strings are
  872. quoted and each value is seperated by a
  873. comma.
  874. ------------------------------------------------------------
  875. ============================================================
  876. FUNCTIONS
  877. ============================================================
  878. ------------------------------------------------------------
  879. SYNTAX: N = ABS( X )
  880. PARAMETER: X is a number
  881. DESCRIPTION: The absolute value of X.
  882. ------------------------------------------------------------
  883. SYNTAX: N = ASC( A$ )
  884. PARAMETER: A$ is a string, LEN >= 1
  885. DESCRIPTION: The numeric code for the first letter in A$.
  886. For example, ASC("ABC") returns 65 on ASCII
  887. systems.
  888. ------------------------------------------------------------
  889. SYNTAX: N = ATN( X )
  890. PARAMETER: X is a number
  891. DESCRIPTION: The arctangent of X in radians, i.e. the angle
  892. whose tangent is X, where -PI/2 < ATN(X) <
  893. PI/2.
  894. ------------------------------------------------------------
  895. SYNTAX: N = CDBL( X )
  896. PARAMETER: X is a number, [MINDBL,MAXDBL]
  897. DESCRIPTION: The double-precision value of X.
  898. ------------------------------------------------------------
  899. SYNTAX: N = CHDIR( A$ )
  900. PARAMETER: A$ is a string, LEN >= 1
  901. DESCRIPTION: Changes to the directory named to A$.
  902. ------------------------------------------------------------
  903. SYNTAX: S$ = CHR$( X )
  904. PARAMETER: X is a number, [0,255]
  905. DESCRIPTION: The one-character string with the character
  906. corresponding to the numeric code X. On
  907. ASCII systems, CHR$(65) returns "A".
  908. ------------------------------------------------------------
  909. SYNTAX: N = CINT( X )
  910. PARAMETER: X is a number, [MININT,MAXINT]
  911. DESCRIPTION: The short (16-bit) integer value of X.
  912. ------------------------------------------------------------
  913. SYNTAX: N = CLNG( X )
  914. PARAMETER: X is a number, [MINLNG,MAXLNG]
  915. DESCRIPTION: The long (32-bit) integer value of X.
  916. ------------------------------------------------------------
  917. SYNTAX: N = CLOSE
  918. DESCRIPTION: Close all open files.
  919. ------------------------------------------------------------
  920. SYNTAX: N = CLOSE( X )
  921. PARAMETER: X is a number, [MININT,MAXINT]
  922. DESCRIPTION: Close file number X.
  923. ------------------------------------------------------------
  924. SYNTAX: N = CLS
  925. DESCRIPTION: Clears the screen. Cursor is positioned at row
  926. 1, column 1.
  927. ------------------------------------------------------------
  928. SYNTAX: N = COLOR( X, Y )
  929. PARAMETER: X is a number, [0,255]
  930. PARAMETER: Y is a number, [0,255]
  931. DESCRIPTION: Sets the foreground text color to X, and the
  932. background text color to Y.
  933. ------------------------------------------------------------
  934. SYNTAX: N = COS( X )
  935. PARAMETER: X is a number
  936. DESCRIPTION: The cosine of X, where X is in radians.
  937. ------------------------------------------------------------
  938. SYNTAX: N = CSNG( X )
  939. PARAMETER: X is a number, [MINFLT,MAXFLT]
  940. DESCRIPTION: The single-precision value of X.
  941. ------------------------------------------------------------
  942. SYNTAX: N = CVD( A$ )
  943. PARAMETER: A$ is a string, LEN >= sizeof(DBL)
  944. DESCRIPTION: The double-precision value in A$, which was
  945. created by MKD$.
  946. ------------------------------------------------------------
  947. SYNTAX: N = CVI( A$ )
  948. PARAMETER: A$ is a string, LEN >= sizeof(INT)
  949. DESCRIPTION: The short (16-bit) integer value in A$, which
  950. was created by MKI$.
  951. ------------------------------------------------------------
  952. SYNTAX: N = CVL( A$ )
  953. PARAMETER: A$ is a string, LEN >= sizeof(LNG)
  954. DESCRIPTION: The long (32-bit) integer value in A$, which
  955. was created by MKL$.
  956. ------------------------------------------------------------
  957. SYNTAX: N = CVS( A$ )
  958. PARAMETER: A$ is a string, LEN >= sizeof(FLT)
  959. DESCRIPTION: The single-precision value in A$, which was
  960. created by MKS$.
  961. ------------------------------------------------------------
  962. SYNTAX: S$ = DATE$
  963. DESCRIPTION: The current date based on the internal clock
  964. as a string in the format set by OPTION DATE.
  965. ------------------------------------------------------------
  966. SYNTAX: N = ENVIRON( A$ )
  967. PARAMETER: A$ is a string, LEN >= 1
  968. DESCRIPTION: Sends the environment variable expression
  969. contained in A$ to the host operating system.
  970. A$ must contain the "=" character.
  971. ------------------------------------------------------------
  972. SYNTAX: S$ = ENVIRON$( A$ )
  973. PARAMETER: A$ is a string, LEN >= 1
  974. DESCRIPTION: The value of the environment variable named
  975. A$.
  976. ------------------------------------------------------------
  977. SYNTAX: N = EOF( X )
  978. PARAMETER: X is a number, [MININT,MAXINT]
  979. DESCRIPTION: If device number X is at the end-of-file, then
  980. -1, otherwise 0.
  981. ------------------------------------------------------------
  982. SYNTAX: N = ERL
  983. DESCRIPTION: The line number of the most recent error.
  984. ------------------------------------------------------------
  985. SYNTAX: N = ERR
  986. DESCRIPTION: The error number of the most recent error.
  987. ------------------------------------------------------------
  988. SYNTAX: S$ = ERR$
  989. DESCRIPTION: The last error message.
  990. ------------------------------------------------------------
  991. SYNTAX: N = ERROR( X )
  992. PARAMETER: X is a number, [0,255]
  993. DESCRIPTION: Simulate the error number in X.
  994. ------------------------------------------------------------
  995. SYNTAX: S$ = ERROR$
  996. DESCRIPTION: The last error message.
  997. ------------------------------------------------------------
  998. SYNTAX: N = EXP( X )
  999. PARAMETER: X is a number
  1000. DESCRIPTION: The exponential value of X, i.e., the value of
  1001. the base of natural logarithms (e = 2.71828)
  1002. raised to the power of X; if EXP(X) is less
  1003. that machine infinitesimal, then its value
  1004. shall be replaced with zero.
  1005. ------------------------------------------------------------
  1006. SYNTAX: N = FILEATTR( X, Y )
  1007. PARAMETER: X is a number, [MININT,MAXINT]
  1008. PARAMETER: Y is a number, [MININT,MAXINT]
  1009. DESCRIPTION: For file X, if Y = 1 then returns open mode,
  1010. otherwise returns zero.
  1011. ------------------------------------------------------------
  1012. SYNTAX: N = FILES
  1013. DESCRIPTION: Displays all the file names.
  1014. ------------------------------------------------------------
  1015. SYNTAX: N = FILES( A$ )
  1016. PARAMETER: A$ is a string, LEN >= 1
  1017. DESCRIPTION: Displays all the file names matching A$.
  1018. ------------------------------------------------------------
  1019. SYNTAX: N = FIX( X )
  1020. PARAMETER: X is a number
  1021. DESCRIPTION: The truncated integer, part of X. FIX (X) is
  1022. equivalent to SGN(X)*INT(ABS(X)). The major
  1023. difference between FIX and INT is that FIX
  1024. does not return the next lower number for
  1025. negative X.
  1026. ------------------------------------------------------------
  1027. SYNTAX: N = FRE
  1028. DESCRIPTION: The number of bytes of available memory. This
  1029. function is provided for backward
  1030. compatibility only and it always returns a
  1031. fixed value of 32000.
  1032. ------------------------------------------------------------
  1033. SYNTAX: N = FRE( A$ )
  1034. PARAMETER: A$ is a string, LEN >= 0
  1035. DESCRIPTION: The number of bytes of available memory. This
  1036. function is provided for backward
  1037. compatibility only and it always returns a
  1038. fixed value of 32000.The value of A$ is
  1039. ignored.
  1040. ------------------------------------------------------------
  1041. SYNTAX: N = FRE( X )
  1042. PARAMETER: X is a number
  1043. DESCRIPTION: The number of bytes of available memory. This
  1044. function is provided for backward
  1045. compatibility only and it always returns a
  1046. fixed value of 32000. The value of X is
  1047. ignored.
  1048. ------------------------------------------------------------
  1049. SYNTAX: N = GET( X )
  1050. PARAMETER: X is a number, [MININT,MAXINT]
  1051. DESCRIPTION: For file X, gets the next available record.
  1052. ------------------------------------------------------------
  1053. SYNTAX: N = GET( X, Y )
  1054. PARAMETER: X is a number, [MININT,MAXINT]
  1055. PARAMETER: Y is a number, [MININT,MAXINT]
  1056. DESCRIPTION: For file X, gets record number Y. The first
  1057. record number is 1.
  1058. ------------------------------------------------------------
  1059. SYNTAX: S$ = HEX$( X )
  1060. PARAMETER: X is a number, [MININT,MAXINT]
  1061. DESCRIPTION: The the hexadecimal (base 16) representation
  1062. of X.
  1063. ------------------------------------------------------------
  1064. SYNTAX: S$ = INKEY$
  1065. DESCRIPTION: The keypress, if available. If a keypress is
  1066. not available, then immediately returns an
  1067. empty string. If not supported by the
  1068. platform, then always returns an empty
  1069. string, so use INPUT$(1) instead.
  1070. ------------------------------------------------------------
  1071. SYNTAX: N = INP( X )
  1072. PARAMETER: X is a number, [0,255]
  1073. DESCRIPTION: The value read from machine port X. Causes
  1074. ERROR 73.
  1075. ------------------------------------------------------------
  1076. SYNTAX: S$ = INPUT$( X )
  1077. PARAMETER: X is a number, [0,MAXLEN]
  1078. DESCRIPTION: The string of X characters, read from the
  1079. terminal.
  1080. ------------------------------------------------------------
  1081. SYNTAX: S$ = INPUT$( X, Y )
  1082. PARAMETER: X is a number, [0,MAXLEN]
  1083. PARAMETER: Y is a number, [MININT,MAXINT]
  1084. DESCRIPTION: The string of X characters, read from file Y.
  1085. ------------------------------------------------------------
  1086. SYNTAX: N = INSTR( A$, B$ )
  1087. PARAMETER: A$ is a string, LEN >= 0
  1088. PARAMETER: B$ is a string, LEN >= 0
  1089. DESCRIPTION: The position at which B$ occurs in A$,
  1090. beginning at position 1.
  1091. ------------------------------------------------------------
  1092. SYNTAX: N = INSTR( X, A$, B$ )
  1093. PARAMETER: X is a number, [1,MAXLEN]
  1094. PARAMETER: A$ is a string, LEN >= 0
  1095. PARAMETER: B$ is a string, LEN >= 0
  1096. DESCRIPTION: The position at which B$ occurs in A$,
  1097. beginning at position X.
  1098. ------------------------------------------------------------
  1099. SYNTAX: N = INT( X )
  1100. PARAMETER: X is a number
  1101. DESCRIPTION: The largest integer not greater than X; e.g.
  1102. INT(1.3) = 1 and INT(-1.3) = 2.
  1103. ------------------------------------------------------------
  1104. SYNTAX: N = KILL( A$ )
  1105. PARAMETER: A$ is a string, LEN >= 1
  1106. DESCRIPTION: Removes the file named in A$.
  1107. ------------------------------------------------------------
  1108. SYNTAX: S$ = LCASE$( A$ )
  1109. PARAMETER: A$ is a string, LEN >= 0
  1110. DESCRIPTION: The string of characters from the value
  1111. associatedwith A$ by replacing each
  1112. upper-case-letter in the string by its
  1113. lower-case version.
  1114. ------------------------------------------------------------
  1115. SYNTAX: S$ = LEFT$( A$, X )
  1116. PARAMETER: A$ is a string, LEN >= 0
  1117. PARAMETER: X is a number, [0,MAXLEN]
  1118. DESCRIPTION: The X left-most characters of A$, beginning
  1119. from postion 1.
  1120. ------------------------------------------------------------
  1121. SYNTAX: N = LEN( A$ )
  1122. PARAMETER: A$ is a string, LEN >= 0
  1123. DESCRIPTION: The length of A$.
  1124. ------------------------------------------------------------
  1125. SYNTAX: N = LOC( X )
  1126. PARAMETER: X is a number, [MININT,MAXINT]
  1127. DESCRIPTION: The location of file X; the next record that
  1128. GET or PUT statements will use.
  1129. ------------------------------------------------------------
  1130. SYNTAX: N = LOCATE( X, Y )
  1131. PARAMETER: X is a number, [0,255]
  1132. PARAMETER: Y is a number, [0,255]
  1133. DESCRIPTION: Locates the cursor to row X, column Y.
  1134. ------------------------------------------------------------
  1135. SYNTAX: N = LOF( X )
  1136. PARAMETER: X is a number, [MININT,MAXINT]
  1137. DESCRIPTION: The length of file X.
  1138. ------------------------------------------------------------
  1139. SYNTAX: N = LOG( X )
  1140. PARAMETER: X is a number, > 0
  1141. DESCRIPTION: The natural logarithm of X; X shall be greater
  1142. than zero.
  1143. ------------------------------------------------------------
  1144. SYNTAX: N = LPOS
  1145. DESCRIPTION: The current cursor position in the line for
  1146. the printer.
  1147. ------------------------------------------------------------
  1148. SYNTAX: S$ = LTRIM$( A$ )
  1149. PARAMETER: A$ is a string, LEN >= 0
  1150. DESCRIPTION: The string of characters resulting from the
  1151. value associated with A$ by deleting all
  1152. leading space characters.
  1153. ------------------------------------------------------------
  1154. SYNTAX: N = LWIDTH( X )
  1155. PARAMETER: X is a number, [0,255]
  1156. DESCRIPTION: For printer, sets the line width to X. Zero
  1157. means no wrapping will occur.
  1158. ------------------------------------------------------------
  1159. SYNTAX: S$ = MID$( A$, X )
  1160. PARAMETER: A$ is a string, LEN >= 0
  1161. PARAMETER: X is a number, [1,MAXLEN]
  1162. DESCRIPTION: The characters of A$, starting from postion X.
  1163. ------------------------------------------------------------
  1164. SYNTAX: S$ = MID$( A$, X, Y )
  1165. PARAMETER: A$ is a string, LEN >= 0
  1166. PARAMETER: X is a number, [1,MAXLEN]
  1167. PARAMETER: Y is a number, [0,MAXLEN]
  1168. DESCRIPTION: The Y characters of A$, starting from postion
  1169. X.
  1170. ------------------------------------------------------------
  1171. SYNTAX: S$ = MKD$( X )
  1172. PARAMETER: X is a number, [MINDBL,MAXDBL]
  1173. DESCRIPTION: The internal representation of X as a string.
  1174. ------------------------------------------------------------
  1175. SYNTAX: N = MKDIR( A$ )
  1176. PARAMETER: A$ is a string, LEN >= 1
  1177. DESCRIPTION: Makes the directory named in A$.
  1178. ------------------------------------------------------------
  1179. SYNTAX: S$ = MKI$( X )
  1180. PARAMETER: X is a number, [MININT,MAXINT]
  1181. DESCRIPTION: The internal representation of the short
  1182. (16-bit) integer X as a string.
  1183. ------------------------------------------------------------
  1184. SYNTAX: S$ = MKL$( X )
  1185. PARAMETER: X is a number, [MINLNG,MAXLNG]
  1186. DESCRIPTION: The internal representation of the long
  1187. (32-bit) integer X as a string.
  1188. ------------------------------------------------------------
  1189. SYNTAX: S$ = MKS$( X )
  1190. PARAMETER: X is a number, [MINFLT,MAXFLT]
  1191. DESCRIPTION: The internal representation of X as a string.
  1192. ------------------------------------------------------------
  1193. SYNTAX: N = NAME( A$, B$ )
  1194. PARAMETER: A$ is a string, LEN >= 1
  1195. PARAMETER: B$ is a string, LEN >= 1
  1196. DESCRIPTION: Rename the file named A$ into B$.
  1197. ------------------------------------------------------------
  1198. SYNTAX: N = NULL( X )
  1199. PARAMETER: X is a number, [0,255]
  1200. DESCRIPTION: Appends X null characters after each line
  1201. printed by LPRINT or LLIST.
  1202. ------------------------------------------------------------
  1203. SYNTAX: S$ = NUM$( X )
  1204. PARAMETER: X is a number
  1205. DESCRIPTION: The string generated by the print-statement as
  1206. the numeric-representation of the value
  1207. associated with X.
  1208. ------------------------------------------------------------
  1209. SYNTAX: S$ = OCT$( X )
  1210. PARAMETER: X is a number, [MININT,MAXINT]
  1211. DESCRIPTION: The the octal (base 8) representation of X.
  1212. ------------------------------------------------------------
  1213. SYNTAX: N = OPEN( A$, X, B$ )
  1214. PARAMETER: A$ is a string, LEN >= 1
  1215. PARAMETER: X is a number, [MININT,MAXINT]
  1216. PARAMETER: B$ is a string, LEN >= 1
  1217. DESCRIPTION: Open file number X. A$ is the mode: "I", "O",
  1218. "A", "R". B$ is the file name. Default the
  1219. record length.
  1220. ------------------------------------------------------------
  1221. SYNTAX: N = OPEN( A$, X, B$, Y )
  1222. PARAMETER: A$ is a string, LEN >= 1
  1223. PARAMETER: X is a number, [MININT,MAXINT]
  1224. PARAMETER: B$ is a string, LEN >= 1
  1225. PARAMETER: Y is a number, [MININT,MAXINT]
  1226. DESCRIPTION: Open file number X. A$ is the mode: "I", "O",
  1227. "A", "R". B$ is the file name. Y is the
  1228. record length.
  1229. ------------------------------------------------------------
  1230. SYNTAX: N = OUT( X, Y )
  1231. PARAMETER: X is a number, [MININT,MAXINT]
  1232. PARAMETER: Y is a number, [0,255]
  1233. DESCRIPTION: Sends Y to hardware port X. Causes ERROR 73.
  1234. ------------------------------------------------------------
  1235. SYNTAX: N = PEEK( X )
  1236. PARAMETER: X is a number, [MINLNG,MAXLNG]
  1237. DESCRIPTION: The value read from hardware address X.
  1238. Causes ERROR 73.
  1239. ------------------------------------------------------------
  1240. SYNTAX: N = POKE( X, Y )
  1241. PARAMETER: X is a number, [MINLNG,MAXLNG]
  1242. PARAMETER: Y is a number, [0,255]
  1243. DESCRIPTION: Sends Y to hardware address X. Causes ERROR
  1244. 73.
  1245. ------------------------------------------------------------
  1246. SYNTAX: N = POS
  1247. DESCRIPTION: The current cursor position in the line.
  1248. ------------------------------------------------------------
  1249. SYNTAX: N = POS( X )
  1250. PARAMETER: X is a number, [MININT,MAXINT]
  1251. DESCRIPTION: The current cursor position in the line for
  1252. file X.
  1253. ------------------------------------------------------------
  1254. SYNTAX: N = PUT( X )
  1255. PARAMETER: X is a number, [MININT,MAXINT]
  1256. DESCRIPTION: For file X, puts the next available record.
  1257. ------------------------------------------------------------
  1258. SYNTAX: N = PUT( X, Y )
  1259. PARAMETER: X is a number, [MININT,MAXINT]
  1260. PARAMETER: Y is a number, [MININT,MAXINT]
  1261. DESCRIPTION: For file X, puts record number Y. The first
  1262. record number is 1.
  1263. ------------------------------------------------------------
  1264. SYNTAX: N = RANDOMIZE
  1265. DESCRIPTION: Seeds the pseudo-random number generator with
  1266. TIME.
  1267. ------------------------------------------------------------
  1268. SYNTAX: N = RANDOMIZE( X )
  1269. PARAMETER: X is a number
  1270. DESCRIPTION: Seeds the pseudo-random number generator with
  1271. X.
  1272. ------------------------------------------------------------
  1273. SYNTAX: S$ = REPEAT$( X, A$ )
  1274. PARAMETER: X is a number, [0,MAXLEN]
  1275. PARAMETER: A$ is a string, LEN >= 1
  1276. DESCRIPTION: The string consisting of X copies of
  1277. LEFT$(A$,1); X > 0.
  1278. ------------------------------------------------------------
  1279. SYNTAX: S$ = REPEAT$( X, Y )
  1280. PARAMETER: X is a number, [0,MAXLEN]
  1281. PARAMETER: Y is a number, [0,255]
  1282. DESCRIPTION: The string consisting of X copies of CHR$(Y);
  1283. X > 0.
  1284. ------------------------------------------------------------
  1285. SYNTAX: N = RESET
  1286. DESCRIPTION: Close all open files.
  1287. ------------------------------------------------------------
  1288. SYNTAX: S$ = RIGHT$( A$, X )
  1289. PARAMETER: A$ is a string, LEN >= 0
  1290. PARAMETER: X is a number, [0,MAXLEN]
  1291. DESCRIPTION: The right-most X characters of A$.
  1292. ------------------------------------------------------------
  1293. SYNTAX: N = RMDIR( A$ )
  1294. PARAMETER: A$ is a string, LEN >= 1
  1295. DESCRIPTION: Removes the directory named in A$.
  1296. ------------------------------------------------------------
  1297. SYNTAX: N = RND
  1298. DESCRIPTION: The next pseudo-random number in an
  1299. implementation-defined sequence of
  1300. pseudo-random numbers uniformly distributed
  1301. in the range 0 <= RND < 1.
  1302. ------------------------------------------------------------
  1303. SYNTAX: N = RND( X )
  1304. PARAMETER: X is a number
  1305. DESCRIPTION: Returns a pseudorandom number in the range
  1306. [0,1]. The value of X is ignored.
  1307. ------------------------------------------------------------
  1308. SYNTAX: S$ = RTRIM$( A$ )
  1309. PARAMETER: A$ is a string, LEN >= 0
  1310. DESCRIPTION: The string of characters resulting from the
  1311. value associated with A$ by deleting all
  1312. trailing space characters.
  1313. ------------------------------------------------------------
  1314. SYNTAX: N = SEEK( X )
  1315. PARAMETER: X is a number, [MININT,MAXINT]
  1316. DESCRIPTION: The location of file X; the next record that
  1317. GET or PUT statements will use.
  1318. ------------------------------------------------------------
  1319. SYNTAX: N = SEEK( X, Y )
  1320. PARAMETER: X is a number, [MININT,MAXINT]
  1321. PARAMETER: Y is a number, [MININT,MAXINT]
  1322. DESCRIPTION: For file X, move to record number Y; the first
  1323. record number is 1.
  1324. ------------------------------------------------------------
  1325. SYNTAX: N = SGN( X )
  1326. PARAMETER: X is a number
  1327. DESCRIPTION: The sign of X: -1 if X < 0, 0 if X = 0, and +1
  1328. if X > 0.
  1329. ------------------------------------------------------------
  1330. SYNTAX: N = SHELL( A$ )
  1331. PARAMETER: A$ is a string, LEN >= 1
  1332. DESCRIPTION: The exit code resulting from the execution of
  1333. an operating system command.
  1334. ------------------------------------------------------------
  1335. SYNTAX: N = SIN( X )
  1336. PARAMETER: X is a number
  1337. DESCRIPTION: The sine of X, where X is in radians.
  1338. ------------------------------------------------------------
  1339. SYNTAX: S$ = SPACE$( X )
  1340. PARAMETER: X is a number, [0,MAXLEN]
  1341. DESCRIPTION: The string of X blank spaces.
  1342. ------------------------------------------------------------
  1343. SYNTAX: S$ = SPC( X )
  1344. PARAMETER: X is a number
  1345. DESCRIPTION: The string of X spaces. Only for use within
  1346. the PRINT command.
  1347. ------------------------------------------------------------
  1348. SYNTAX: N = SQR( X )
  1349. PARAMETER: X is a number, >= 0
  1350. DESCRIPTION: The non-negative square root of X; X shall be
  1351. non-negative.
  1352. ------------------------------------------------------------
  1353. SYNTAX: S$ = STR$( X )
  1354. PARAMETER: X is a number
  1355. DESCRIPTION: The string generated by the print-statement as
  1356. the numeric-representation of the value
  1357. associated with X.
  1358. ------------------------------------------------------------
  1359. SYNTAX: S$ = STRING$( X, A$ )
  1360. PARAMETER: X is a number, [0,MAXLEN]
  1361. PARAMETER: A$ is a string, LEN >= 1
  1362. DESCRIPTION: The string X bytes long consisting of the
  1363. first character of A$.
  1364. ------------------------------------------------------------
  1365. SYNTAX: S$ = STRING$( X, Y )
  1366. PARAMETER: X is a number, [0,MAXLEN]
  1367. PARAMETER: Y is a number, [0,255]
  1368. DESCRIPTION: The string X bytes long consisting of CHR$(Y).
  1369. ------------------------------------------------------------
  1370. SYNTAX: S$ = TAB( X )
  1371. PARAMETER: X is a number
  1372. DESCRIPTION: The string required to advance to column X.
  1373. Only for use within the PRINT command.
  1374. ------------------------------------------------------------
  1375. SYNTAX: N = TAN( X )
  1376. PARAMETER: X is a number
  1377. DESCRIPTION: The tangent of X, where X is in radians.
  1378. ------------------------------------------------------------
  1379. SYNTAX: S$ = TIME$
  1380. DESCRIPTION: The time of day in 24-hour notation according
  1381. to ISO 3307. For example, the value of TIME$
  1382. at 11:15 AM is "11:15:00". If there is no
  1383. clock available, then the value of TIME$
  1384. shall be "99:99:99". The value of TIME$ at
  1385. midnight is "00:00:00".
  1386. ------------------------------------------------------------
  1387. SYNTAX: N = TIMER
  1388. DESCRIPTION: The time in the system clock in seconds
  1389. elapsed since midnight.
  1390. ------------------------------------------------------------
  1391. SYNTAX: S$ = TRIM$( A$ )
  1392. PARAMETER: A$ is a string, LEN >= 0
  1393. DESCRIPTION: The string resulting from removing both
  1394. leading and trailing spaces from A$.
  1395. ------------------------------------------------------------
  1396. SYNTAX: N = TROFF
  1397. DESCRIPTION: Turn tracing OFF
  1398. ------------------------------------------------------------
  1399. SYNTAX: N = TRON
  1400. DESCRIPTION: Turn tracing ON
  1401. ------------------------------------------------------------
  1402. SYNTAX: S$ = UCASE$( A$ )
  1403. PARAMETER: A$ is a string, LEN >= 0
  1404. DESCRIPTION: The string of characters resulting from the
  1405. value associated with A$ by replacing each
  1406. lower-case-letter in the string by its
  1407. upper-case version.
  1408. ------------------------------------------------------------
  1409. SYNTAX: N = USR( ... )
  1410. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1411. ------------------------------------------------------------
  1412. SYNTAX: N = USR0( ... )
  1413. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1414. ------------------------------------------------------------
  1415. SYNTAX: N = USR1( ... )
  1416. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1417. ------------------------------------------------------------
  1418. SYNTAX: N = USR2( ... )
  1419. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1420. ------------------------------------------------------------
  1421. SYNTAX: N = USR3( ... )
  1422. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1423. ------------------------------------------------------------
  1424. SYNTAX: N = USR4( ... )
  1425. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1426. ------------------------------------------------------------
  1427. SYNTAX: N = USR5( ... )
  1428. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1429. ------------------------------------------------------------
  1430. SYNTAX: N = USR6( ... )
  1431. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1432. ------------------------------------------------------------
  1433. SYNTAX: N = USR7( ... )
  1434. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1435. ------------------------------------------------------------
  1436. SYNTAX: N = USR8( ... )
  1437. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1438. ------------------------------------------------------------
  1439. SYNTAX: N = USR9( ... )
  1440. DESCRIPTION: Execute hardware program. Causes ERROR 73.
  1441. ------------------------------------------------------------
  1442. SYNTAX: N = VAL( A$ )
  1443. PARAMETER: A$ is a string, LEN >= 1
  1444. DESCRIPTION: The value of the numeric-constant associated
  1445. with A$, if the string associated with A$ is
  1446. a numeric-constant. Leading and trailing
  1447. spaces in the string are ignored. If the
  1448. evaluation of the numeric-constant would
  1449. result in a value which causes an underflow,
  1450. then the value returned shall be zero. For
  1451. example, VAL( " 123.5 " ) = 123.5, VAL(
  1452. "2.E-99" ) could be zero, and VAL( "MCMXVII"
  1453. ) causes an exception.
  1454. ------------------------------------------------------------
  1455. SYNTAX: N = WAIT( X, Y )
  1456. PARAMETER: X is a number, [MININT,MAXINT]
  1457. PARAMETER: Y is a number, [0,255]
  1458. DESCRIPTION: Waits for the value of (INP(X) AND Y) to
  1459. become nonzero. Causes ERROR 73.
  1460. ------------------------------------------------------------
  1461. SYNTAX: N = WAIT( X, Y, Z )
  1462. PARAMETER: X is a number, [MININT,MAXINT]
  1463. PARAMETER: Y is a number, [0,255]
  1464. PARAMETER: Z is a number, [0,255]
  1465. DESCRIPTION: Waits for the value of ((INP(X) XOR Z) AND Y)
  1466. to become nonzero. Causes ERROR 73.
  1467. ------------------------------------------------------------
  1468. SYNTAX: N = WIDTH( X )
  1469. PARAMETER: X is a number, [0,255]
  1470. DESCRIPTION: For console, sets the line width to X. Zero
  1471. means no wrapping will occur.
  1472. ------------------------------------------------------------
  1473. SYNTAX: N = WIDTH( X, Y )
  1474. PARAMETER: X is a number, [MININT,MAXINT]
  1475. PARAMETER: Y is a number, [0,255]
  1476. DESCRIPTION: If X = 0, sets the console width to Y.
  1477. If X < 0, sets the printer width to Y.
  1478. If X is an open file number, sets the file
  1479. line width to Y.
  1480. Otherwise sets the console rows to X and the
  1481. line width to Y.
  1482. A value of zero for Y means no wrapping will
  1483. occur.
  1484. ------------------------------------------------------------
  1485. ============================================================
  1486. OPERATORS
  1487. ============================================================
  1488. ------------------------------------------------------------
  1489. SYNTAX: X [ Y
  1490. DESCRIPTION: Exponential
  1491. PRECEDENCE: 14
  1492. ------------------------------------------------------------
  1493. SYNTAX: # X
  1494. DESCRIPTION: Posation
  1495. PRECEDENCE: 13
  1496. ------------------------------------------------------------
  1497. SYNTAX: + X
  1498. DESCRIPTION: Posation
  1499. PRECEDENCE: 13
  1500. ------------------------------------------------------------
  1501. SYNTAX: - X
  1502. DESCRIPTION: Negation
  1503. PRECEDENCE: 13
  1504. ------------------------------------------------------------
  1505. SYNTAX: X * Y
  1506. DESCRIPTION: Multiplication
  1507. PRECEDENCE: 12
  1508. ------------------------------------------------------------
  1509. SYNTAX: X / Y
  1510. DESCRIPTION: Division
  1511. PRECEDENCE: 12
  1512. ------------------------------------------------------------
  1513. SYNTAX: X \ Y
  1514. DESCRIPTION: Integer Division
  1515. PRECEDENCE: 11
  1516. ------------------------------------------------------------
  1517. SYNTAX: X MOD Y
  1518. DESCRIPTION: Integer Modulus
  1519. PRECEDENCE: 10
  1520. ------------------------------------------------------------
  1521. SYNTAX: X + Y
  1522. DESCRIPTION: Addition
  1523. PRECEDENCE: 9
  1524. ------------------------------------------------------------
  1525. SYNTAX: X - Y
  1526. DESCRIPTION: Subtraction
  1527. PRECEDENCE: 9
  1528. ------------------------------------------------------------
  1529. SYNTAX: X < Y
  1530. DESCRIPTION: Less than
  1531. PRECEDENCE: 7
  1532. ------------------------------------------------------------
  1533. SYNTAX: X <= Y
  1534. DESCRIPTION: Less than or Equal
  1535. PRECEDENCE: 7
  1536. ------------------------------------------------------------
  1537. SYNTAX: X <> Y
  1538. DESCRIPTION: Not Equal
  1539. PRECEDENCE: 7
  1540. ------------------------------------------------------------
  1541. SYNTAX: X = Y
  1542. DESCRIPTION: Equal
  1543. PRECEDENCE: 7
  1544. ------------------------------------------------------------
  1545. SYNTAX: X =< Y
  1546. DESCRIPTION: Less than or Equal
  1547. PRECEDENCE: 7
  1548. ------------------------------------------------------------
  1549. SYNTAX: X => Y
  1550. DESCRIPTION: Greater than or Equal
  1551. PRECEDENCE: 7
  1552. ------------------------------------------------------------
  1553. SYNTAX: X > Y
  1554. DESCRIPTION: Greater than
  1555. PRECEDENCE: 7
  1556. ------------------------------------------------------------
  1557. SYNTAX: X >< Y
  1558. DESCRIPTION: Not Equal
  1559. PRECEDENCE: 7
  1560. ------------------------------------------------------------
  1561. SYNTAX: X >= Y
  1562. DESCRIPTION: Greater than or Equal
  1563. PRECEDENCE: 7
  1564. ------------------------------------------------------------
  1565. SYNTAX: NOT X
  1566. DESCRIPTION: Bitwise NOT
  1567. PRECEDENCE: 6
  1568. ------------------------------------------------------------
  1569. SYNTAX: X AND Y
  1570. DESCRIPTION: Bitwise AND
  1571. PRECEDENCE: 5
  1572. ------------------------------------------------------------
  1573. SYNTAX: X OR Y
  1574. DESCRIPTION: Bitwise OR
  1575. PRECEDENCE: 4
  1576. ------------------------------------------------------------
  1577. SYNTAX: X XOR Y
  1578. DESCRIPTION: Bitwise Exclusive OR
  1579. PRECEDENCE: 3
  1580. ------------------------------------------------------------
  1581. SYNTAX: X EQV Y
  1582. DESCRIPTION: Bitwise EQV
  1583. PRECEDENCE: 2
  1584. ------------------------------------------------------------
  1585. SYNTAX: X IMP Y
  1586. DESCRIPTION: Bitwise IMP
  1587. PRECEDENCE: 1
  1588. ------------------------------------------------------------