4D v13.4Application version |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
Application version
|
Application version {( buildNum {; *} )} -> Function result | ||||||||
Parameter | Type | Description | ||||||
buildNum | Longint |
![]() |
Build number | |||||
* | Operator |
![]() |
Long version number if passed, otherwise Short version number | |||||
Function result | String |
![]() |
Version number encoded string | |||||
The Application version command returns an encoded string value that expresses the version number of the 4D environment you are running.
- If you do not pass the optional * parameter, a 4-character string is returned, formatted as follows:Characters | Description |
1-2 | Version number |
3 | Update number |
4 | Revision number |
Example: The string "0600" stands for version 6.0.0.
- If you pass the optional * parameter, an 8-character string is returned, formatted as follows:Characters | Description |
1 | "F" denotes a final version |
"B" denotes a beta version | |
Other characters denote an 4D internal version | |
2-3-4 | Internal 4D compilation number |
5-6 | Version number |
7 | Update number |
8 | Revision number |
Example: The string "B0120602" would stand for the Beta 12 of version 6.0.2.
The Application version command can return additional information in the optional buildNum parameter: the build number of the current version of the 4D application. This is an internal compilation number that can be used for versioning or when contacting the 4D Technical Services department.
Note: In the case of applications that are compiled and merged with 4D Volume License, the build number returned is not significant. In this context, version information is managed by the developer.
This example displays the 4D environment version number:
$vs4Dversion:=Application version
ALERT("You are using the version "+String(Num(Substring($vs4Dversion;1;2)))+"."+
$vs4Dversion≤3≥+"."+$vs4Dversion≤4≥)
Product: 4D
Theme: 4D Environment
Number:
493
Created: 4D v6
Modified: 4D v11 SQL Release 5