13. Building Applications : The Globals Submenu of the Edit an Application Frame : Using Alternate Sets of Global Constant Values : Compatibility with Previous ABF Releases
 
Share this page                  
Compatibility with Previous ABF Releases
Prior to the current release of ABF, specify alternate languages in the Edit Global Constants window. Multiple sets of language-dependent constants values were stored in the database. In this release, only one set of global constants values are stored in the database, and alternate sets are stored in separate files. If you have a previous release of the database that contains multiple language values, the values are retained in the catalogs.
To convert global constants to the new format, create a file of global constants from the default set, as described in Create an Alternate Global Constants File. ABF creates a file with the global constants values separated by language, as shown in the example below. The data type is provided as a comment. You can then copy each set of values into its own global constants file.
# PM readable Global Constant File
#
# Application name: ccf
#
#BEGIN default
 cons1 ='English' #char(7)
 cons2 ='yards ' #char(6)
 cons3 ='Fahr' #char(4)
 #END default
#BEGIN French
 cons1 ='French ' #char(7)
cons2 ='meters' #char(6)
cons3 ='Cels' #char(4)
#END French
#BEGIN german
 cons1 ='German ' #char(7)
cons2 ='meters' #char(6)
cons3 ='Cels' #char(4)
#END german

# Number of Global Constants: 3