quote:
Originally posted by markee
<snipped>
This with something that compares the version numbering that people have now should work well (at least in theory).
<snipped>
(but you should allow A or B or RC<number> as well IMHO)
Absolutely not, especially not in theory.
If you need to compare something, it is best to use a whole number, nothing more. Strings like "A", "B", "RC", "beta", whatever is already what people do at this very moment; it is exactly what the existing version tag in scriptinfo.xml holds in many scripts.
And this is exactly why you can not make an auto-update checker based upon the existing version tag. Many have tried, and all failed; and the updater script which is currently in development by <
sorry, dunno anymore> will fail just as well! It is simply not possible to check all the scripts the user has because of the points listed above and in my previous post.
You need a whole number (exactly like Plus! does it) and use only that number for checking, nothing else. Of course you can display anything you like to the user (eg: the already existing _string_ version number which can include "A", "B", "rc", "beta", etc, but that itself should never be used to do the actual comparisson).