home *** CD-ROM | disk | FTP | other *** search
-
- BASIC 2.00
- ==========
-
- The following changes have been made in BASIC release 2.00:
-
- 1) Three enhancements have been made to the BASIC command line:
-
- a. The optional parameter "max blocksize" has been added to the /M:
- switch, allowing you to load programs above the BASIC workspace.
-
- b. The ATN, COS, EXP, LOG, SIN, SQR and TAN functions now allow you
- to calculate in double precision by specifying /D on the BASIC
- command line.
-
- c. You can redirect standard input and standard output by specifying
- " < stdin " or " > stdout " on the BASIC command line.
-
- 2) Pressing Ctrl-PrtSc causes text sent to your screen to also be sent to
- your system printer. Ctrl-PrtSc differs from Shift-PrtSc in that all
- text that appears on your screen prints on your printer until you press
- Ctrl-PrtSc again.
-
- 3) The filespec syntax has been expanded to allow the specification of a
- path to a device or file. All commands and statements that accept
- filespec also accept path. The commands that allow paths are BLOAD,
- BSAVE, KILL, LOAD, MERGE, NAME, RUN and SAVE. The statements that allow
- paths are CHAIN and OPEN.
-
- 4) The DELETE command syntax has been expanded to allow line deletions from
- the specified line to the end of the program.
-
- 5) The PE option has been added to the OPEN "COM... statement syntax to allow
- for parity checking.
-
- 6) The PLAY statement has two new options. For use in Advanced BASIC only.
-
- - >n raises the octave and plays note n.
-
- - <n lowers the octave and plays note n.
-
- 7) The DRAW statement has two new options. For use in Advanced BASIC only.
-
- - TA(a) turns angle n from -360 to 360 degrees
-
- - P paint, boundary sets figure color and border color
-
- 9) The POINT function now allows the form v=POINT(n), which returns the
- value of the current x or y graphics coordinate. For use in Advanced
- BASIC only.
-
- l0) The RANDOMIZE statement now allows double-precision expressions. Also,
- you can generate a new random number without a prompt by using the
- TIMER function in the expression.
-
- ll) The LINE statement has a new option, style, which uses hexadecimal
- values to plot a pattern of points on the screeen. For use in
- Advanced BASIC only.
-
- 12) The PAINT statement has a new option, background, that allows you to do
- paint tiling. For use in Advanced BASIC only.
-
- 13) The ON KEY(n), and KEY statements now allow trapping of six additional
- definable keys, l5-20. For use in Advanced BASIC only.
-
- 14) The GET and PUT statements have been enhanced to allow record numbers
- in the range 1 to 16,777,215 to accommodate large files with short
- record lengths.
-
- 15) In BASIC release 2.0, EOF(0) returns the end of file condition on
- standard input devices used with redirection of I/O.
-
- 16) In BASIC release 2.0, the LOF function returns the actual number of
- bytes allocated to a file.
-
- 17) The graphics statements CIRCLE, LINE, PAINT, POINT, PSET PRESET, and
- WINDOW now use line clipping. Lines that cross the screen or viewport
- are "clipped" at the boundaries of the viewing area. Only the points
- plotted within the screen or viewport are visible; points outside the
- viewing area do not appear and do not wrap around.
-
- 18) Chapter 2, "How to Start and Use BASIC," has been expanded to include
- sections on running a BASIC program, running the SAMPLES program,
- running the COMM program, and running a BASIC program on another
- diskette.
-
- 19) Chapter 3, "General Information About Programming in BASIC," has been
- expanded to include a section on techniques for formatting your math
- output. Another section, "Tree Structured Directories," has also been
- added to this chapter to help you use directories in BASIC release 2.0.
-
- 20) Appendix A, "Messages," now includes a Quick Reference and new messages
- for BASIC release 2.0.
-
- 21) Appendix H, "Hexidecimal Conversion Tables," now includes a binary to
- hexadecimal conversion table.
-
- Three new functions have been added:
-
- 1) The PLAY(n) function returns the number of notes currently in the Music
- Background (MB) buffer. For use in Advanced BASIC only.
-
- 2) The PMAP function maps an expression to world or physical coordinates.
- For use in Advanced BASIC only.
-
- 3) The TIMER function returns the number of seconds that have elapsed since
- midnight or System Reset.
-
- Four new statements have been added:
-
- 1) The ON PLAY statement allows continuous music to play while a program
- is running. For use in Advanced BASIC only.
-
- 2) The ON TIMER statement transfers control to a given line number in a
- BASIC program when a defined period of time has elapsed. For use in
- Advanced BASIC only.
-
- 3) The VIEW statement lets you define a viewport (or area) within the
- physical limits of the screen. For use in Advanced BASIC only.
-
- 4) The WINDOW statement lets you redefine the coordinates of the screen.
- For use in Advanced BASIC only.
-
- Three new commands have been added:
-
- 1) The CHDIR command allows you to change the current directory.
-
- 2) The MKDIR command creates a directory on the specified diskette.
-
- 3) The RMDIR command removes a directory from the specified diskette.
-
- One new appendix has been added:
-
- 1) Appendix K, "Keyboard Diagram and Scan Codes".
-
-
-
-
- END OF TRANSFER - PRESS ENTER TO RETURN TO MENU
-
-