Chapter 19 System Information
19-3
VER$ (Function)
Function
Obtains the version of each module.
Format
VER$ (<Expression>)
Explanation
This statement stores the version of each module corresponding to the value of
<Expression> with a character string.
Refer to Appendix 9 “Version Corresponding Table.”
Related Terms
GETENV, Version corresponding table (Appendix 9)
Example
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
Comments to this Manuals