Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this legal in VFP?
Message
De
06/02/2008 18:37:41
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
06/02/2008 13:55:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01290122
Message ID:
01290233
Vues:
13
>>>About thirty years ago I was doing something such as this with DOS Basic.
>>>Can it be done in VFP or is a vfp array recommended?
>>>Or am I just old and I forgot?
>>>
>>>
>>>For RecordCount = 1 To TheEndOfTheFile
>>>Goto RecordCount
>>>NumericValue = Datafile.n1
>>>nFOO(RecordCount) = NumericValue &&  <<<<
>>>Next RecordCount
>>>
>>
>>Yes, it's legal now. You have to be 13 or older and a citizen. Void where prohibited.
>>
>>But it's as efficient as mowing with nail clippers and raking with a toothbrush.
>>
>>
select n1 from datafile into array nFoo
>>
>>would fit the bill nicely.
>>
>>update: and your code would also visit any deleted records and have them in the array, regardless of Set("Deleted"). GoTo ignores filters as well (but then so does SQL).
>
>Thank you Professor

Disclaimer: if datafile is a minor, you may check the age of consent in your neck of the woods ;).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform