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.
 
 
 
 
 
 

1600 lines
69 KiB

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