Error, final value in for loop must be numeric or character
Description
Examples
The terminal condition in a for loop must be a numeric value, except when iterating over the letters in a string where a character is accepted.
Example 1
Note that has no value.
Solution:
Define to correct this error.
Example 2
In this example is set to where has no value.
Error, (in G) final value in for loop must be numeric or character
As with the previous example, define to correct this error.
Example 3
Here is not initialized to a numeric value.
Initialize
See Also
loops
Download Help Document