Changeset 661
- Timestamp:
- Nov 27, 2008, 1:45:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/OperatingSystem.ab
r601 r661 41 41 42 42 Const Function VersionString() As String 43 Dim sb = New Text.StringBuilder 44 43 45 Select Case pf 44 46 Case PlatformID.Win32S 45 VersionString = "Microsoft Win32S "47 sb.Append("Microsoft Win32S ") 46 48 Case PlatformID.Win32Windows 47 VersionString = "Microsoft Windows "49 sb.Append("Microsoft Windows ") 48 50 Case PlatformID.Win32NT 49 VersionString = "Microsoft Windows NT "51 sb.Append("Microsoft Windows NT ") 50 52 Case PlatformID.WinCE 51 VersionString = "Microsoft Windows CE "53 sb.Append("Microsoft Windows CE ") 52 54 Case PlatformID.Unix 53 VersionString = "<unknown> "55 sb.Append("<unknown> ") 54 56 End Select 55 VersionString = VersionString + ver.ToString57 sb.Append(ver) 56 58 If String.IsNullOrEmpty(sp) <> False Then 57 VersionString = VersionString + " " + sp59 sb.Append(" ").Append(sp) 58 60 End If 61 VersionString = sb.ToString() 59 62 End Function 60 63
Note:
See TracChangeset
for help on using the changeset viewer.