Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this legal in VFP?
Message
From
06/02/2008 18:37:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
06/02/2008 13:55:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01290122
Message ID:
01290233
Views:
14
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform