Originally posted by Prashanth Chandra:
Hi
No I am not updating the next value but I am just checking if the value after the DOT is 2 or 1.
regards
Prashanth
Hint: maybe
you should update the next value... It is pointing to the DOT, and you want it to point to the "value after the DOT".
And BTW, when we say "updating the next value", we don't mean updating the value pointed to by next. We mean update the value of the next variable pointer.
Henry
[ September 23, 2008: Message edited by: Henry Wong ]