home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / basic20.arc / BASIC20.DOC < prev   
Encoding:
Text File  |  1986-04-26  |  5.8 KB  |  141 lines

  1.  
  2. BASIC 2.00
  3. ==========
  4.  
  5. The following changes have been made in BASIC release 2.00:
  6.  
  7. 1)  Three enhancements have been made to the BASIC command line:
  8.  
  9.     a.  The optional parameter "max blocksize" has been added to the /M:
  10.         switch, allowing you to load programs above the BASIC workspace.
  11.  
  12.     b.  The ATN, COS, EXP, LOG, SIN, SQR and TAN functions now allow you
  13.         to calculate in double precision by specifying /D on the BASIC
  14.         command line.
  15.  
  16.     c.  You can redirect standard input and standard output by specifying
  17.        " < stdin "  or  " > stdout " on the BASIC command line.
  18.  
  19. 2)  Pressing Ctrl-PrtSc causes text sent to your screen to also be sent to
  20.     your system printer.  Ctrl-PrtSc differs from Shift-PrtSc in that all
  21.     text that appears on your screen prints on your printer until you press
  22.     Ctrl-PrtSc again.
  23.  
  24. 3)  The filespec syntax has been expanded to allow the specification of a 
  25.     path to a device or file.  All commands and statements that accept 
  26.     filespec also accept path.  The commands that allow paths are BLOAD,
  27.     BSAVE, KILL, LOAD, MERGE, NAME, RUN and SAVE.  The statements that allow
  28.     paths are CHAIN and OPEN.
  29.  
  30. 4)  The DELETE command syntax has been expanded to allow line deletions from
  31.     the specified line to the end of the program.
  32.  
  33. 5)  The PE option has been added to the OPEN "COM... statement syntax to allow
  34.     for parity checking.
  35.  
  36. 6)  The PLAY statement has two new options.  For use in Advanced BASIC only.
  37.  
  38.     - >n raises the octave and plays note n.
  39.  
  40.     - <n lowers the octave and plays note n.
  41.  
  42. 7)  The DRAW statement has two new options.  For use in Advanced BASIC only.
  43.  
  44.     - TA(a) turns angle n from -360 to 360 degrees
  45.  
  46.     - P paint, boundary sets figure color and border color
  47.  
  48. 9)  The POINT function now allows the form v=POINT(n), which returns the
  49.     value of the current x or y graphics coordinate.  For use in Advanced
  50.     BASIC only.
  51.  
  52. l0) The RANDOMIZE statement now allows double-precision expressions.  Also,
  53.     you can generate a new random number without a prompt by using the
  54.     TIMER function in the expression.
  55.  
  56. ll) The LINE statement has a new option, style, which uses hexadecimal 
  57.     values to plot a pattern of points on the screeen.  For use in
  58.     Advanced BASIC only.
  59.  
  60. 12) The PAINT statement has a new option, background, that allows you to do
  61.     paint tiling.  For use in Advanced BASIC only.
  62.  
  63. 13) The ON KEY(n), and KEY statements now allow trapping of six additional
  64.     definable keys, l5-20.  For use in Advanced BASIC only.
  65.  
  66. 14) The GET and PUT statements have been enhanced to allow record numbers
  67.     in the range 1 to 16,777,215 to accommodate large files with short
  68.     record lengths.
  69.  
  70. 15) In BASIC release 2.0, EOF(0) returns the end of file condition on
  71.     standard input devices used with redirection of I/O.
  72.  
  73. 16) In BASIC release 2.0, the LOF function returns the actual number of
  74.     bytes allocated to a file.
  75.  
  76. 17) The graphics statements CIRCLE, LINE, PAINT, POINT, PSET PRESET, and
  77.     WINDOW now use line clipping.  Lines that cross the screen or viewport
  78.     are "clipped" at the boundaries of the viewing area.  Only the points
  79.     plotted within the screen or viewport are visible; points outside the
  80.     viewing area do not appear and do not wrap around.
  81.  
  82. 18) Chapter 2, "How to Start and Use BASIC," has been expanded to include
  83.     sections on running a BASIC program, running the SAMPLES program,
  84.     running the COMM program, and running a BASIC program on another
  85.     diskette.
  86.  
  87. 19) Chapter 3, "General Information About Programming in BASIC," has been
  88.     expanded to include a section on techniques for formatting your math
  89.     output.  Another section, "Tree Structured Directories," has also been
  90.     added to this chapter to help you use directories in BASIC release 2.0.
  91.  
  92. 20) Appendix A, "Messages," now includes a Quick Reference and new messages
  93.     for BASIC release 2.0.
  94.  
  95. 21) Appendix H, "Hexidecimal Conversion Tables," now includes a binary to
  96.     hexadecimal conversion table.
  97.  
  98. Three new functions have been added:
  99.  
  100. 1)  The PLAY(n) function returns the number of notes currently in the Music
  101.     Background (MB) buffer.  For use in Advanced BASIC only.
  102.  
  103. 2)  The PMAP function maps an expression to world or physical coordinates.
  104.     For use in Advanced BASIC only.
  105.  
  106. 3)  The TIMER function returns the number of seconds that have elapsed since
  107.     midnight or System Reset.
  108.  
  109. Four new statements have been added:
  110.  
  111. 1)  The ON PLAY statement allows continuous music to play while a program
  112.     is running.  For use in Advanced BASIC only.
  113.  
  114. 2)  The ON TIMER statement transfers control to a given line number in a
  115.     BASIC program when a defined period of time has elapsed.  For use in
  116.     Advanced BASIC only.
  117.  
  118. 3)  The VIEW statement lets you define a viewport (or area) within the 
  119.     physical limits of the screen.  For use in Advanced BASIC only.
  120.  
  121. 4)  The WINDOW statement lets you redefine the coordinates of the screen.
  122.     For use in Advanced BASIC only.
  123.  
  124. Three new commands have been added:
  125.  
  126. 1)  The CHDIR command allows you to change the current directory.
  127.  
  128. 2)  The MKDIR command creates a directory on the specified diskette.
  129.  
  130. 3)  The RMDIR command removes a directory from the specified diskette.
  131.  
  132. One new appendix has been added:
  133.  
  134. 1)  Appendix K, "Keyboard Diagram and Scan Codes".
  135.                                                                        
  136.                                                                        
  137.                                                                        
  138.                                                       
  139. END OF TRANSFER - PRESS ENTER TO RETURN TO MENU
  140.                   
  141.