Returns the computer's 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. The parameter causes a syntax error or runtime error if used otherwise.
The machine (Boolean value)
GetPlatform( [Boolean] );
if (GetPlatform(DESTINATION) == WINXP)
ApplyWinXPWord();
|
Copyright © 2013 CA.
All rights reserved.
|
|