Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get lines from text file
Message
From
30/08/2006 12:44:27
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
30/08/2006 12:40:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01149836
Message ID:
01149861
Views:
11
>>>Hi Reza,
>>>
>>>Place its contents in a memo field and then use MLINE()
>>>
>>>HTH
>>>
>>>Henry
>>Thanks, But i don't want to use from array.
>
>Reza,
>
>Not sure why you're talking about an array, but anyway, try something like this.
>
>cText = FILETOSTR("YourFile.Txt")
>_MLINE = 0
>FOR i = 1 TO MEMLINES()
>  ? MLINE(cText,1,_MLINE)
>NEXT
>
>Regards,

Thank you
Yes i want to say MEMO FIELD!
Previous
Reply
Map
View

Click here to load this message in the networking platform