Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Output of long strings to text files
Message
From
29/10/2001 23:32:03
Jaime Vila
Miami Children's Hosp. - Radiology
Miami, Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00574861
Message ID:
00574869
Views:
23
Thanks. I'll try the low-level approach.
>The string wraping by ?/?? comands is controlled by SET MEMOWIDTH TO < nColumns > command (default value is 50 characters). You can increase it up to 256 characters.
>I would suggest that for better control over output you use STRTOFILE() function. You can alternatively use low-level FPUTS() or FWRITE() functions.
>
>>Hello all!
>>
>>I'm in the process of creating some strictly formatted text files to migrate some data in fox tables to another system. The text stream generated from each record needs to be all in one line or row in the text file. I'm not able to generate the row of text correctly for some of the records. They seem to be too long and my output gets an unwanted carriage return. Can anyone tell me about the specific limitations of sending output to a text file. I'm using 'set alternate' and then generating the text stream with ? and ?? operators. Any ideas or insight would be greatly appreciated.
>>
>>TIA,
>>
>>Jaime
Previous
Reply
Map
View

Click here to load this message in the networking platform