Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't save string as file
Message
From
12/04/2012 18:22:07
 
 
To
12/04/2012 17:19:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01541276
Message ID:
01541306
Views:
52
>>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. :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform