Previous Topic: GetMappedPathNext Topic: if


GetPlatform

GetPlatform

Returns the computer platform. The return values are: WIN2000, WINXP, WINVI, or WIN7 (see the Definitions List). It takes one parameter that indicates whether to get the platform of the source computer or the destination computer. This parameter is optional and is a Boolean value. False is the default and indicates the destination; True indicates the current computer.

Note: The Boolean parameter can only be used during General and Apply functions. If used otherwise, the parameter causes a syntax error or runtime error.

First parameter:

The system (Boolean value)

Usage:
GetPlatform( [Boolean] );
Example:
if (GetPlatform(DESTINATION) == WINXP)
    ApplyWinXPWord();