Quote Originally Posted by ChadReitsma View Post
And one thing, OF COURSE I'M DEBUGGING MY CODE - Christ... I use traces and breakpoints lol
You still have not shown actual code, and in particular, you have not shown the so-called "trace: {xpos}" statement upon which all of your conclusions are drawn.

Paul's post proves that if a statement like comData.find("X:") is not returning your expected value, then comData simply does not contain the substring "X:". So there are only two possibilites: either comData does not contain the value "X:", or it does and you are not correctly interpreting the returned value of xpos.

As suggested in your other post on an identical question (see your post #18 in http://forums.codeguru.com/showthread.php?t=522597 ), please single-step through the affected code and confirm the actual values of all variables.

Mike