DBWScriptingEngineVersionInstalled

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > PDMSystem >

DBWScriptingEngineVersionInstalled

Description

Check if the installed Scripting Engine Version is more recent of the passed one.

Syntax

Function DBWScriptingEngineVersionInstalled(version)

Parameters

version

real number representing the version to check

Return Values

TRUE

If the installed version is more recent of the specified one

FALSE

otherwise

Example

Sub main()
 ver=4.6
 if DBWScriptingEngineVersionInstalled(ver)=TRUE then
  msgbox "Scripting Engine installed is more recent than the specified one"
 else
  msgbox "You specified a Scripting Engine version more recent than the installed one."
 end if
end sub