Identifies the current dBASE or dBASE Plus version number.

Description

When dBASE Plus’s preprocessor processes a file, it internally defines the preprocessor identifier __version__ (two underscores on both ends) with the current version number. Earlier versions of dBASE used __dbasewin__ and __vdb__. Use these three built-in identifiers to manage code that’s intended to run on different versions of dBASE.

The numeric values returned by these preprocessor identifiers are as follows:

__dbasewin__ : 5.0 for dBASE 5.0, and 5.5, 5.6 or 5.7 for the versions of Visual dBASE 5.x

__vdb__ : 7.0, 7.01, 7.5 for Visual dBASE 7.x and 2000 for dBASE Plus

__version__ : 0.1, 0.2, 0.3, 0.4, etc. depending on the release of dBASE Plus

Note

The display of the above values will be affected by the number of decimal places specified by SET DECIMALS, and the separator specified by SET POINT.