Jump to content
Sign in to follow this  
B3EAST

_arraysort help

Recommended Posts

B3EAST

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.