Raised This Month: $ Target: $400
 0% 

Sorting an array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-15-2012 , 16:44   Sorting an array
Reply With Quote #1

hoekay, i have an array that i want to sort from highest to lowest. And in an attempt to do so i ran into 2 questions.

1: why can't i declare an array as such:
Spoiler


2: is this right, and efficient? The wiki was kinda vague.
Spoiler
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode