Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't save string as file
Message
From
13/04/2012 05:25:27
 
 
To
12/04/2012 18:22:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01541276
Message ID:
01541337
Views:
44
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform