Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximum string length?
Message
 
 
À
28/02/2006 14:58:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01100026
Message ID:
01100085
Vues:
17
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform