Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing to file
Message
From
07/12/1999 10:55:27
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00299743
Message ID:
00299780
Views:
24
Hi Phil,

That's an old, old problem. Try substituting PROW()+1 for i in the @..SAY line and I think it'll get past line 2048.

>I get the error "Invalid coordinates (Error 1959)" when the line number reaches 2048.
>
>Any suggestions on what I am doing wrong?
>
>Thanks in advance,
>
>Phil
>
>
>
>Here is a sample of code that will generate the error:
>
>
>
>set device to print
>set printer to file c:\qtemp.txt
>for i = 1 to 3000
> @ i, 0 say "Line" + str(i)
>next
>set printer to
>set device to screen
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform