Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASCII from Notepad
Message
From
22/01/2003 11:59:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
22/01/2003 11:56:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00744312
Message ID:
00744317
Views:
10
>Hi. VFP7 & 8beta user. How would I read ASCII text from Notepad (ie: text file) into a Fox dbf or array?
>
>Thanks, Randy

You can copy it to a variable with FileToStr().

You can convert that to an array (one element per line) with alines().

For manipulation of very large texts (above the array limit, or above a few MB), you should learn to use LLFF.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform