Jump to content

Recommended Posts

Hello,

This may be a dumb question but i am unable to get the _arraysort to write to a file once i have used it to sort a numerical array. It works fine when i call it and then run _arraydisplay as in the example, But I need to be-able to write the sorted array to a .txt file. Is this possible with this _arraysort function or do i need to look else where.

Edit: Found out it is just order of things such as

_arraysort($array,0,1)

FileWrite("test.txt", _ArrayToString($array, @CRLF,1))

If there is a easier way please enlighten me..

Edited by B3EAST
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...