|
|
|
|
- Reason
- Correction
- Example
- Using a 2-byte Integer counter
Information 37: Optimize your FOR loop
The code of your FOR loop use a counter whose type is: Use an Integer counter or a Real counter. Using a 2-byte Integer counter Code triggering the information message I is 2-byte int FOR I = 1 TO 5 ListAdd(LIST_List1,"Element "+I) END
Possible correction Use an Integer counter. I is int FOR I = 1 TO 5 ListAdd(LIST_List1,"Element "+I) END
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|