Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@ .. SAY oddity
Message
From
10/09/2003 19:42:59
 
 
To
10/09/2003 17:50:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00828011
Message ID:
00828035
Views:
16
William,

It would be interesting to see if you get the same error using the $ instead of an actual value.

The $ essentially means 'the current line' so $+1 would do the next line.
Being relative one would hope that you'd never hit a real number that is out of range (unless you did $+32768 or some such).

cheers

>Hi,
>
>The following code sample generates an "Invalid coordinates" error after 2730 lines. Any idea why? According to the error message description in the help file, "Coordinate values must be greater than -32768 and less than 32767". This is in VFP 8. Yes, I know @ .. SAY is semi-deprecated as a means of generating text file output, but this code came from FPD 2.6...
>
>Oddly 2730 is 0xAAA, this is probably just a coincidence.
>
>Thanks,
>Larry
>
>SET PRINTER off
>SET PRINTER TO ttt.txt
>
>SET DEVICE TO print
>
>FOR ii = 1 TO 50000
> @ PROW()+1, 0 say STR(ii)+' '+REPLICATE('x',100)
>ENDFOR
>
>SET PRINTER to
>SET DEVICE TO screen
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform