Sign in to follow this  
Followers 0
B3EAST

_arraysort help

1 post in this topic

#1 ·  Posted (edited)

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

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  
Followers 0