VER$
(Function)
Obtains the version of each module.
VER$ (<Expression>)
This statement stores the version of each module corresponding to the value of <Expression> with a character string.
Refer to 22.7 "Version Correspondence Table".
GETENV, Version corresponding table (Appendix 9)
DEFSTR ls1, ls2, ls3
|
|
DIM li1 As Integer
|
|
li1 = 1
|
|
ls1 = VER$ (1)
|
'Assigns the main board version to ls1.
|
ls2 = VER$ (2)
|
'Assigns the version of ROM on the DIO board to ls2.
|
ls3 = VER$ (li1)
|
'Assigns the version information that corresponds to the li1
'value to ls3.
|
In this example, data is stored in ls1 and ls2 in the following format as a character string (the date below was the date when the version was published).
ls1
|
1.000 07/30/1998
|
ls2
|
V1.00 08/03/1998
|