``

prev Menu next

Difference between Decimal BASIC and True BASIC

1. behavior

(1) The behavior of the following statements are different from True BASIC due to conformity with the standard.

SET WINDOW
  Initial aspect of the pane is a square.
  If you want to change the aspect of the pane, use SET BITMAP SIZE.
PLOT POINTS
  The initial shape of a point is *.
  If you want to have compatibility with True BASIC, do
  `SET POINT STYLE 1`
  beforehand.
PLOT TEXT
  PLOT TEXT may be affected by a transformation.
  Use PLOT LABEL instead of PLOT TEXT for compatibility with True BASIC.
GET POINT
  The beam is set to be OFF.
  If you want to have compatibility with True BASIC, do
  `SET BEAM MODE "IMMORTAL"`
  beforehand.

(2) Permissible difference with the standard

Color Indices
  The initial color of each color index may be different.

(3) Commands that are not contained in the standard.

PLOT x, y
  interpreted as PLOT LINES: x, y
SET COLOR n
  changes all of line color, point color, area color, text color.

(4) Accuracy
Some programs that run thanks to computational errors on True BASIC may not work.
For example, if angle option is degrees, 1/SIN(180) or TAN(90) causes an exception on Decimal BASIC.