Why can't I compile the new DataBasic features for a release

To use the new features in a release you need to invoke the latest compiler. This wasn't changed by default to make sure there were no problems with existing applications.

To use the new  features in a release change the default compiler for the BASIC command to the latest compiler by performing the following edit.

For example, for V15.1:

  ED /SYSFILES/BASIC-COMPILERS BASIC*DEFAULT
… change attribute<2> to be as follows:
     BASIC*DEFAULT
  001 Q
  002 BASIC*15.1

You can find the alternative compilers installed on a Reality version using SORT BASIC-COMPILERS from TCL…
… e.g. BASIC*11, BASIC*14, BASIC*15, BASIC*15.1…

The reverse of the above can be use when you need to use an older compiler to deliver to older systems refer to:
FAQ Turning off new DataBasic Compiler features, to deliver to older Systems

For further details refer to the product Documentation  under Using Alternative Compilers in the DataBasic Reference section, which covers the above, using the BASIC (C "compiler" option and setting up new BASIC commands for specific compilers. For V14.0 and above this is also highlighted on the home page, under Restrictions.

Back to articles