roippi
Developer
Pretty straightforward idea. A lot of neophytes have this as their first post on the forums:
They of course simply need to update their mafia (and perhaps to be told that there are releases other than point releases).
I propose that we add some ability to specify a directive near the top (like script/notify) of an .ash file - like
If we encounter this while parsing, we check this against the current revision number - and if not greater than the current revision number we drop out with Some Helpful Message. The current status quo is that we just merrily parse until we hit some undefined function (or something other than a function, we could add new operators, whatever) and then bomb out with a foo not found message that is quite cryptic for lay users. It would be better if it just said "update to r12345+, knucklehead."
There would be some maintenance burden on scripters who opt in to this feature to keep the value up-to-date but 1) I don't think it's too bad, and 2) I don't think this can be avoided.
hey im getting this error, no idea how to fix plz help
invalid foo: 'bar' (baz.ash, line 1234)
They of course simply need to update their mafia (and perhaps to be told that there are releases other than point releases).
I propose that we add some ability to specify a directive near the top (like script/notify) of an .ash file - like
Code:
since r14600;
If we encounter this while parsing, we check this against the current revision number - and if not greater than the current revision number we drop out with Some Helpful Message. The current status quo is that we just merrily parse until we hit some undefined function (or something other than a function, we could add new operators, whatever) and then bomb out with a foo not found message that is quite cryptic for lay users. It would be better if it just said "update to r12345+, knucklehead."
There would be some maintenance burden on scripters who opt in to this feature to keep the value up-to-date but 1) I don't think it's too bad, and 2) I don't think this can be avoided.