Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't save string as file
Message
De
12/04/2012 18:22:07
 
 
À
12/04/2012 17:19:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01541276
Message ID:
01541306
Vues:
53
>>That's another story, since in your sample you try assign the string to the variable in one line. If you have a string with CRLF's in it, you can use this code to save it
>>strtofile(lcOut, chr(13)+chr(10),'')
>
>You meant
>
strtofile(chrtran(lcOut, chr(13)+chr(10),''), "test.bat")
>Seriously reconsider Lutz's advice about that beer :).
>
>I know the feeling. Yesterday I took a nap and, as usual, during those 15 minute naps weird dreams come. I saw command window and what I was typing, and every couple of lines I'd make some mistake like that, got deurinated at myself, and decided I need some sleep, so I went to do so. In that sleep within the sleep I dreamed nothing, and woke up (from both, nothing left on the stack) quite rested :).

Right! Thank God it's Friday tomorrow. :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform