getOSType

構文
getOSType( )
引数
戻値
OS

プログラム

//////////////////////////////////////////////////
// 【引数】
// 
// 【戻値】
//   OS 
//////////////////////////////////////////////////
FUNCTION getOSType()
	HASHTBL os
	os["10"] = "NT3.5";			os["11"] = "NT4";
	os["12"] = "Win2000";		os["13"] = "WinXP";
	os["14"] = "Server2003";	os["20"] = "Vista";
	os["21"] = "Server2008";	os["22"] = "Windows 7";
	os["23"] = "Windows 8";		os["24"] = "Server2012";
	os["25"] = "Windows 8.1";	os["30"] = "Windows 10";
	os["31"] = "Server2016";
	RESULT = os[KINDOFOS()]
FEND