How to compare bettwen .rev file

Mark Wieder mwieder at ahsoftware.net
Wed Feb 18 01:31:25 EST 2009


Tran-

I usually store the version number and date in a custom property of
the stack. Then I can query the custom property to see what I've got.
Something like:

set the uVersion of this stack to 3.14
set the uDate of this stack to "17 February 2009"

--then

if there is a file tFileToUpdate then
  get the uVersion of file tFileToUpdate
  if it < tNewVersion then
    update it
  end if
end if

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list