Jump to content
Sign in to follow this  
jpam

_FileWriteFromArray

Recommended Posts

jpam

hee people

how can i get a "return" @crlf after this new beta command "_FileWriteFromArray" ?

i read the hole contens from a combo into a array

then i can use this new command _FileWriteFromArray to write the contens of the array into a test.txt file

but when it s writen to disk the last line has no return.

when i read back the test.txt file ,the last line is not added!

do someone knows how to put a @crlf into the _FileWriteFromArray command ?

thanks in advance

jpam

Share this post


Link to post
Share on other sites
flyingboz

embarrassing question deleted to protect topic starter.

The same way you concatenate two strings w/o the packaged UDF. ;)

RTM >>>> Language Reference - Operators

$line = $line & @CRLF

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites
jpam

The same way you concatenate two strings w/o the packaged UDF. :P

RTM >>>> Language Reference - Operators

$line = $line & @CRLF
no,already did that !

thats not working over here ;)

i can make a workaround " filewrite("test.txt", @crlf) "

but its not nice

:mad2:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×