Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximum string length?
Message
 
 
To
28/02/2006 14:58:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01100026
Message ID:
01100085
Views:
19
Even better, you can use STRTOFILE()
STRTOFILE(cMessage, "Myfile.txt" ) 
>Thanks Sergey, I thought I remembered something like that.
>
>>See SET MEMOWIDTH command
>>
>>>Is there a setting somewhere that controls the maximum length of a string without a carrige return?
>>>
>>>I have a loop that builds a message string as in
>>>
>>>
>>>cMessage = chr(13)
>>>scan
>>>..do some other stuff
>>>cMessage = cMessage + 'more data' + chr(13)
>>>endscan
>>>
>>>I then output the message with a simple
>>>
>>>set alternate to 'Myfile'
>>>set alternate on
>>>? cMessage
>>>set alternate off
>>>set alternate to
>>>
>>>
>>>The result file has unwanted hard returns inserted into the middle of each line. I've never seen this before and and wondering how to fix.
>>>
>>>Thanks for any help here.
>>>-Don
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform