On Jun 10, 2006, at 12:58 AM, Daniel Pimley wrote:
On 9 Jun 2006, at 20:00, Chris Nebel wrote:
"localized string" is defined to return the input string if there
is no localized version to be found, and that includes not being
found because the table was missing. (The reason the last one
works the way it does is that that's what you told it to do: it
evaluated (1+1), came up with 2, and coerced that to a string.)
I wondered if that was the case, but that's not the documented
behaviour. All the examples I've been able to find, in the ASS
documentation or on the web, nest the command inside a 'try'
statement to allow for an error.
The documentation agrees with you, but as far as I can tell, it's
wrong -- it will return the original string if there is any failure.
I'm looking into fixing the docs.