◄Summary► ◄Details► ◄Example► ◄Back► Returns Word Version of operating system Description The DosVersion function returns the version number for the operating system. DosVersion returns the major version number in the low byte of the return value. The minor version number is returned in the high byte. For instance, in the case of DOS version 3.31, the returned word has the number 3 in the low byte and the number 31 in the high byte. To get the contents of each byte, use the functions Hi, Lo, and Swap.