BUG: "Invalid Coordinates" Error Message Received when Sending @ SAYs to Text File (164739)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q164739 SYMPTOMS
The "Invalid coordinates" error message is received when sending @..SAYs
to a text file when the coordinates for the @..SAY reach a certain number.
The certain number is dependent on the FontSize property of _SCREEN. The
smaller the _SCREEN.FontSize, the larger the coordinate values can be.
RESOLUTION
The following code can be used as a workaround to this problem, depending on the circumstances:
SET ALTERNATE TO test.txt
SET ALTERNATE ON
SET CONSOLE OFF
FOR i=1 TO 35000
? "Row "+STR(i)
ENDFOR
SET ALTERNATE OFF
SET ALTERNATE TO
SET CONSOLE ON
The code above uses the ? command instead of @...SAY's to output. The ? command is placed inside a FOR...ENDFOR loop for illustration purposes. In an actual application, the FOR...ENDFOR loop would likely be replaced with what actually needs to be output to the text file.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 2/10/2005 |
---|
Keywords: | kbBug KB164739 |
---|
|