Code snippet:
Code: Select all
FOR dwRow := dwRow UPTO dwMaxRow
...
NEXT
The variable (field of class) dwRow before the loop has a calculated value. For optimization, loop processing is performed starting not from the first line, but from an already known value. For example, from the specified row number of the table to the end.
Of course, I can write in a different way.
Code: Select all
LOCAL dwNewRow AS DWORD
FOR dwNewRow := dwRow UPTO dwMaxRow
...
NEXT
dwRow := dwNewRow
Is it possible that this warning will be fixed for such code?
Best regards,
Leonid