I've just come across this in code and I don't understand what it's doing, or how it's doing what it's doing
pos[iter](1) += 12.0f / 900.0f;
does the (1) initialise the array value at position iter to 1, then add (12.0f / 900.0f) to it? I can't believe it is as it's being used in a loop to set the position of debug text, each loop sets the next line below to a high y value (lower point on screen). iter can be 0 or 1 depending on what list the debug text is in.
I would understand if it were a static operation.
posdefined?posin order to understand this line. It could be a container of function pointers, e.g.(1)could be a cross-reference to some description, and not meant to be part of the code at all.