I’m pretty sure it IS the case, IF maya understands that a certain character is breaking the syntax. Otherwise, it will refer to the length of the command (i.e. the last character of that command) because it doesn’t know which character is causing the problem.
MEL Example:
print ^ “woof”
gives:
// Error: Line 1.7: Syntax error //
Where ^ is the 7th character (of a 1-based index system)
Note I’m just going off experience, as I can’t see anything in the docs, nor in maya’s MEL scripts.
I always assumed that the number after the point was the percentage of the way across the line in which it thinks the error is. In this case is is 29%…
print ("if I keep typing random words like pumpkin cabinet flycatcher, this huge line of text seems to have over 100 characters..." + ^ "another string" + "
");
// Error: Line 1.135: Syntax error //
where 135 is the position of the ^ character causing the error