Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't save string as file
Message
De
13/04/2012 05:25:27
 
 
À
12/04/2012 18:22:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01541276
Message ID:
01541337
Vues:
45
>>>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. :-)

Better forget tomorrow:

1) Black Friday
2) Friday 13th April

stay in bed or in the pool, up to you but dont tough your keyboard!

Regards,
Koen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform