GetWinVer
Returns the Windows version.
Parameters:
(none) |
Remarks:
The function returns a number between 1 and 3 to indicate which OS the user is using:
1 = Windows 95
2 = Windows NT
3 = Windows 98
If the version can't be retrieved, an error occurs.
Example:
i=GetWinVer
if i=2 then
'User is running Windows NT
else
'User is running other OS
end if