feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Aug 29 2008 : 11:37:49 AM
|
I do not recognise "%li" as a format code.
Ignoring that for the moment, in general how is VA supposed to know that this is not a spelling error? You are passing a format code to a function, but the function might be called myCustomStringFormatter. In general VA has no way of knowing what a given parameter means.
What if the parameter is a SQL select statement?
There are lots of perfectly sensible and valid strings that look like spelling errors unless you understand what the string is doing and actually means. It would be nice to fix this, but I am not sure how that could be done.
Simply ignoring anything after a % sign is not a perfect solution, since the % sign may be part of a literal string, not a formatting command. |
zen is the art of being at one with the two'ness |
|
|