Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Just one more thing...
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00492123
Message ID:
00492126
Views:
16
>Hi friends!
>
>I am writing multiple lines of text to a .txt file using strtofile... the lines of text are the same length but I want to force a carriage return at the end of each line.
>
>Does anyody know of a simple way to do this?
mx = "this is a test"
=strToFile( mx + CHR(10), "testthis.txt", .t.)
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Reply
Map
View

Click here to load this message in the networking platform