>Hi,
>
>I want to write a function that gives me the OS of the computer ie Windows 98 / Windows NT etc.
>
>OS(1) function returns Win version number as 4 for Win 98, 4.9 for Win Me, 5 for Win 2000 and so on. Is there any way I can map the return value of OS(1) to the correct equivalent Windows OS version?
A DO CASE, that returns exactly the value you want. Or, define constants for each version of Windows.
The main problem is to get the complete list of OS.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)