SysVersion

>>-SysVersion()------------------------------------------------><

Returns a string to identify the operating system and version. The first word of the returned string contains the identifier for the operating system and the second word the version: WindowsNT x.xx or Windows95 x.xx.

Return code: The operating system and version. Possible output for operating systems supported by Object Rexx are:

Say SysVersion()   ->  "WindowsNT 4.00"
Say SysVersion()   ->  "WindowsNT 5.00"

Note: This function can be used to replace the operating-system-specific functions SysOS2Ver(), SysWinVer(), and SysLinVer().