VERSION( )
Topic group Related topics Example
Returns the name and version number of the currently running copy of dBASE or dBASE.
Syntax
VERSION([<expN>])
<expN>
Any number, which causes VERSION( ) to return extended version information.
Description
Although you may be able to use VERSION( ) in programs to take advantage of version-specific features, the most common use of VERSION( ) is to get the exact build number of your copy of dBASE to see if you have the latest build. When called with no parameters, VERSION( ) returns a string like:
dBASE 2.0
with the product name and the version number. If you pass a number, for example VERSION(1), you will get extended build information, like:
dBASE 2.0 b1672 (04/03/2002-EN020403)
which adds the build number after the "b" and the identifier and date of the language resource for that copy of dBASE. If you pass the number .89, you will get the build information for the Borland Database Engine used, for example,
BDE version: 05/02/02
If you are running a dBASE executable, the word "Runtime" appears in the string; for example:
dBASE 2.0 Runtime
dBASE 2.0 Runtime b1672 (04/03/2002-EN020403)