VER$ |
ver$ is used to identify the version number and the Adonix or Adonix application licence or else a string characterising each Adonix application used.
ver$( exp_num )
|
Element |
Description |
Restrictions |
|
exp_num |
Numeric integer expression that determines if looking for the number of the Adonix version, that of the application or else the string characterising the "Adonix used". |
exp_num = 0, 1 or 2 |
# Display the version numbers
Infbox "Adonix : version number "-num$(ver$(0))
Infbox "Application : version number "-num$(ver$(1))
ver$ is used to identify the version number of the'Adonix or the applications licensed with Adonix, according to the parameter indicated :
- if it is null, a version number and Adonix licence number under the form equivalent to : 4.1 A #2406400000000654321 (the first 4 characters, i.e. 4.1 A in the example, are the version number and the number that follows is the licence number).
- if it is 1, a licence number is obtained for the application in the form of a 19 figure number (in the case of a none licensed application returns an empty string "").
- if is is 2, a string of 242 character string is obtained belonging to each Adonix used. This string is logically sub-divided into 6 sub-strings of 42 characters; the first three are displayed in an automatic fashion on starting up Adonix as well as at the display of each sub-menu.
The result type is Char.
|
Error |
Description |
|
ERDOM (50) |
The argument is different to 0,1, or 2. |
|
ERMODE (10) |
exp_num is not of the type numeric. |
COP$]
|
|