Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text file carriage return
Message
From
21/02/2002 14:37:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Text file carriage return
Miscellaneous
Thread ID:
00623375
Message ID:
00623375
Views:
39
I am writing data from VFP 5.0 to text files as I manipulate it. I am trying to create multiple lines in the text file at one time instead of having to do multiple FPUTS statements. If I try to force a carriage return it doesn't seem to accept it. Can anyone tell me whether forcing a carriage return in an FPUTS statement is / isn't allowed?

Example: FPUTS(filehandle, "Header 1" + chr(13) + "Header2" + table.field + chr(13) + "Header3")

TIA!
Next
Reply
Map
View

Click here to load this message in the networking platform