FILEFLEX API REFERENCE



NAME
DBVersion -- Retrieve the current version of FileFlex

SYNTAX
DBVersion()

CATEGORY
FileFlex Version Information

DESCRIPTION
You can ask FileFlex to tell you it's version number using the function DBVersion. It will return the numerical version number as a string followed by a status message indicating whether the external is licensed for distribution or not.

FileFlex 3 has added version management code for multi-user, client, and server version. Now DBVersion will report an M for multi-user, a C for client, and an S for server. So a FileFlex demo compiled for multi-user might contain "3.0DM-" in the version string. The text descriptions at the end of the version string have been updated as well.

FileFlex specifies some very useful information as part of the version string. Version strings are now composed of 4 parts: the version number, the capability code (i.e., runtime, demo, sdk), the platform (i.e, 68K, WIN), and the host environment (i.e., Director 6, Authorware, Xtra, etc). Here's how they break down:

3.0.0LM-WIN/DIR6 (Developer Version - Not Licensed for Distribution      
-----|| |   |  
  |  || |   |
  |  || |   |
  |  || |   The host development environment
  |  || |   
  |  ||  The host OS environment   
  |  ||
  |  |Determines 'M'ultiuser, 'C'lient, or 'S'erver. Absence of 
  |  |a special character implies single user
  |  |
  |  Single character, if available, determines edition
  |  of FileFlex: 'L' is lite edition, 'R' is runtime
  |  'D' is demo, 'P' is professional, the full SDK.    
  |
 Three-tier version number. The first number represents
 major version, the second minor version, and the third
 bug-fix updates.  Bug-fix updates can always be downloaded
 for free from the http://www.component-net.com website.

If you want to get the version number only of the version string, you'll need the first five characters:

put char 1 to 5 of DBVersion()

INTERNAL FUNCTION NUMBER
0


Copyright © 1992-1998 by David Gewirtz, under license to Component Enterprises, Inc.
Contact: info@component-net.com

Casa de Bender