Maptitude GISDK Help

GetPlatformVersion()

Summary

Returns an array with information about the operating system.

 

Syntax

info = GetPlatformVersion()

 

Returns

An array of five elements:

 

Element Type Contents
1 String The platform name (e.g., "Windows 95", "Windows NT")
2 Integer The major version number
3 Integer The minor version number
4 Integer The build number
5 String An additional description of the version (e.g., "Service Pack 3")

 

Example

info = GetPlatformVersion()

if (info[1] = "Windows NT" & info[2] = 3) then

     ShowMessage("You are running old style Windows NT")

 

See Also

Function Summary
GetProgram() Gets information about the program
GetSystemDirectory() Gets the full path of the Windows directory

 

 

©2025 Caliper Corporation www.caliper.com