|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > PDMSystem > DBWRequiredDBWorksBuild |
Check if the installed DBWorks build string representation equals the parameter.
Function DBWRequiredDBWorksBuild(DBWbuild)
DBWbuild |
string representing the build compared to the current DBWorks build |
TRUE |
if the DBWorks currently installed build equals the passed parameter one |
|---|---|
FALSE |
otherwise |
The parameter passed must be of the format yyyymmdd (i.e. year, month, day)
Sub Main()
last_build = "20011117"
if DBWRequiredDBWorksBuild(last_build) then
msgbox "No upgrade needed: you've installed last available build"
else
msgbox "You need to update your DBWorks build: a recent one has been released"
end if
end sub