Please advise. I asked a question and a submitted answer had code that solves the problem. However, the answer also starts with statements about TeX macros that contradict commonly used TeX documentation. If I accept the answer as is, readers may rely on incorrect information. But the submitter's code solved my problem and could help others. I don't want to offend anybody.
Taking the general question, if you feel there is an issue with an answer then it is always best to comment to that effect. You can for example ask for clarification, point to information that part is incorrect, etc. In particular, I would remember that there is no requirement to accept any answer to a question: you can say that the code works but that you have concerns about the information, for example.
Posting an answer to wrap up the comment thread.
As Joseph says, for the general policy question you are not obliged to accept any answer. You could post your own answer and accept that if you prefer.
However for the specific question that you are asking about, the answer is in fact correct.
\( at that point (as at almost all other points in a LaTeX document) will start typesetting math.
\(x+y\) will put x + y into the PDF it will not do any grouping of actual arithmetic calculations.
Due to the nature of TeX, any command may in fact have different local definitions in different contexts, although you usually don't highlight that every time you mention every command in an answer. For example in
\( will typeset the two characters
\( and in
\(...\) will typeset A...B
It is true that if you load the
ifthen package (that by coincidence I wrote) and use
\( in the first argument of
\ifthenelse it will be used to group any predicates in the test, however there was no reason to consider that package here as it was not mentioned in the question and it is unrelated to any tests used by the
\loop construct under discussion. It did not occur to me to mention it when I wrote the answer and I choose not to add a mention now as it would not add anything to the answer as it is completely unrelated.