undefined Posted August 20, 2014 Share Posted August 20, 2014 Hey all. I have a question. What's the table.sort? (Pls not give the lua.org site) Thnx... Link to comment
Bonsai Posted August 20, 2014 Share Posted August 20, 2014 (Pls not give the lua.org site) Why not? There is no easier way to find out how things work. Link to comment
DiSaMe Posted August 20, 2014 Share Posted August 20, 2014 It sorts the values in the table. Isn't the name self-explanatory? Link to comment
toxicsmoke11 Posted August 20, 2014 Share Posted August 20, 2014 Hey all. I have a question.What's the table.sort? (Pls not give the lua.org site) Thnx... (if you want to learn how to use it: ) go on wiki and write table.sort then click right button which says Search it will show all pages which have table.sort in them. Link to comment
undefined Posted August 20, 2014 Author Share Posted August 20, 2014 I'll make party system. And I thought I should use it. Are you agree to me? So should I use this code? And; What should I use for it? Edit: I won't lua.org because my english is not too good. I don't understand this site. Link to comment
DiSaMe Posted August 20, 2014 Share Posted August 20, 2014 This function has to be used for exactly what it does, sorting. It sorts the values in array (table with numerical keys starting at 1) in a particular order determined by the function passed as the second argument, or in increasing order if no function is given. Link to comment
undefined Posted August 21, 2014 Author Share Posted August 21, 2014 Thnx. It's solved. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now