Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
@ .. SAY oddity
Message
De
10/09/2003 19:42:59
 
 
À
10/09/2003 17:50:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00828011
Message ID:
00828035
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform