FIX: Using an Array Element as the Counter in a For Loop Fails (147277)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft FoxPro for Windows 2.6
- Microsoft FoxPro for Windows 2.6a
This article was previously published under Q147277 SYMPTOMS
In FoxPro and Visual FoxPro, attempting to use an array element as the
counter variable in a FOR...ENDFOR command results in the error, "Not a
numeric expression." If the array hasn't been declared, you may receive the
error, "Variable not found."
WORKAROUND
Use a memory variable instead of an array element.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem has been fixed in
Visual FoxPro 5.0 for Windows.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | kbBug KB147277 |
---|
|