Re: Trouble with if statements
Posted by Al on March 08, 2005
In Reply to: Re: Trouble with if statements posted by Joey p12386 on March 08, 2005
More specifically I tried running this code and stepping through it with the debugger. It runs exactly as you'd expect i.e. 3 trips round the 'row' loop with 2 trips round the 'col' loop in each (and setting x and y when 'col' is 2).
I did notice, however, that not all lines are highlighted when stepping through the code in this way (including the 'end;' in the 'if/then' structure). Is that perhaps the confusion?
Related Articles and Replies