version 6.0
Version type Long Integer
Parameter | Type | Description | ||||
This command does not require any parameters | ||||||
Function result | Long Integer | 0 -> Full version | ||||
1 -> Demo Limited version |
Description
The Version type command returns a numeric value that denotes the type of 4D environment version that you are running. 4D provides the following predefined constants:
Constant | Type | Value |
Full Version | Long Integer | 0 |
Demo Version | Long Integer | 1 |
Example
Your 4D application includes some features that are not available when a demo version of the 4D environment is used. Surround these features with a test that calls Version type:
If (Version type=Full Version) ` Perform appropriate operations Else ALERT("This feature is not available in the Demo version of"+" Super Management Systems.") End if
See Also
Application type, Application version.