HP 3000 Manuals

Examining Potential Problems [ HP Business BASIC/XL Migration Guide ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Migration Guide

Examining Potential Problems 

There are features in BASIC/V that either do not exist in HP Business
BASIC/XL, or that act differently in HP Business BASIC/XL. See chapter
10, "Evaluating Changes You Need to Make", for information about these
features.

There is a migration aid that will find these features for you.  When the
migration aid finds one of these features, it issues a warning message at
the terminal, giving the line number where the untranslatable feature was
found.  The line number is the new line number.  That line is changed so
it will cause an error when you run your program in HP Business BASIC/XL.
The error will help prevent incorrect results.  The following BASIC/V
line contains an untranslatable feature.

     300 INVOKE "MYPROG"

The BASIC/V line above would look like this after migration:

     3000 CAUSE ERROR 1900 !***<INVOKE "MYPROG">

This message causes the following error when you run your program:

     Error 1900
     BASIC/V statement not translated by BBCT3000.  Needs manual change.

The error helps prevent incorrect results in your changed programs and
flags potential problems.

You can look up the untranslatable features and see what is involved in
migrating them.  Untranslatable features are documented in chapter 10,
"Evaluating Changes You Need to Make" and in the on-line help facility.
Just type "HELP" then the name of the feature as it appears in bold in
the warning.

This gives you the opportunity to plan necessary revisions or re-coding
before actually beginning the migration.



MPE/iX 5.0 Documentation