[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

BASIC PRINT USING and Floating Point?

» close window

The Question is:

 
After upgrading from 6.2 to 7.2. Dec Basic programs that print with masks and
 have figures less than 1 and greater than 0.09 now print as "0." whereas the
 mask is "####" no decimals should be displayed. 0.4 prints as 0. but 1.4
 prints as 1! This is throwi
ng all the lining up of many of our reports out. We do not want the extra
 decimal point. Our masks are a string that prints several variables, such as
"### ##### ######" so this throws all the lines out.
 


The Answer is :

 
  This appears potentially related to a known problem within the
  OpenVMS and RTL support underlying the PRINT USING statement.
  (At least one similar case fails with BASIC V1.5 on OpenVMS V7.2
  vintage releases, and prints correctly with V7.3 vintage releases.)
 
  Please ensure you have the current BASIC compiler and all current
  mandatory ECO kits for OpenVMS installed, as a start.  (A newer
  version of DEC$BASRTL is included in UPDATE V2.0 for V7.2, as are
  various other fixes.)
 
  As OpenVMS V7.2 is no longer supported, the OpenVMS Wizard would
  encourage V7.2-2 or V7.3-1 or (as available) a more recent release.
 
  If this bug can be reproduced with current ECOs installed, please
  contact the support center -- having a reproducer available would
  speed resolution of the underlying error, as well.  (But you should
  expect to be encouraged to upgrade to a supported release.)
 
  If you wish to test with a more recent release without performing
  an upgrade, you can bootstrap off the distribution media for the
  OpenVMS Alpha V7.3-1 release, exit the CD menus to the $$$ prompt,
  MOUNT the target disk, and RUN a test program you have previously
  built.
 

answer written or last revised on ( 11-JUN-2003 )

» close window