FileVersion$
File management function.
The FileVersion$ function returns the version number of the specified file.
Syntax
var$=FileVersion$(<filename>)
Parameters
<filename>, string, name of the file.
Return value
var$, string, version number of the specified file. Using Windows interface, you can see the version of a file by right clicking it in Explorer, select Properties and take Version Tab - if the Version Tab is not available, FileVersion$ returns an empty string. If <filename> is empty or the file does not exist, an empty string is returned too.
Example
a$=FileVersion$("myfile.txt")