VMS Help BASIC, /OLD_VERSION *Conan The Librarian (sorry for the slow response - running on an old VAX) |
The /OLD_VERSION qualifier is provided for compatibility with previous versions of VAX BASIC. The format of the /OLD_VERSION qualifier is as follows: /[NO]OLD_VERSION[=CDD_ARRAYS] When you use the /OLD_VERSION qualifier, the compiler changes the lower bound to zero and adjusts the upper bound of the array. For example, Array 2:5 in CDD/Repository is translated by the compiler to be an array with a lower bound of 0 and an upper bound of 3. The compiler issues an informational message to confirm the array bounds. The /NOOLD_VERSION qualifier causes the compiler to extract an array from CDD/Repository with the bounds as specified in the data definition. For example, Array 2:5 in CDD/Repository is translated by the compiler to be an array with a lower bound of 2 and an upper bound of 5. CDD/Repository assumes a default lower bound of 1, if none is specified. Therefore, if no lower bound is specified, the compiler translates the CDD/Repository array to have a lower bound of 1. For example, Array 5 in CDD/Repository is translated by the compiler to be an array with a lower bound of 1 and an upper bound of 5. The default is /NOOLD_VERSION.
|