>In the Init() of my grid class, I discovered a situation new tonight. When I saw that, I restarted Visual FoxPro but it didn't change anything.
>
>It goes like this:
>
>FOR lnCompteur=1 TO This.ColumnCount
> MESSAGEBOX(STR(lnCompteur)+' '+STR(This.ColumnCount))
> ...
> MESSAGEBOX(STR(lnCompteur)+' '+STR(This.ColumnCount))
>NEXT
>
>I put a messagebox to show the FOR NEXT value and the number of maximum occurence. It goes like this:
>
>1 7
>2 7
>3 7
>4 7
>5 7
>6 7
>
>The 7th occurence is never looped. Isn't this weird?
Please, ignore this message. A RETURN was added instead of LOOP in a specific condition which was causing the loop to be skipped.