Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
array problem with sorting - maybe easy but not for me
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mmcolli00 Mom, post: 4628107"] Do you think there is another way to do this? I have tried taking out the numbers array[0] and reading in as hash but I can't get the next value in Hash. I have to have the next value to compare like this. psuedo snippet: if the array[1] != array[2] then array[2]= 'no value' if 'next' array[1] == array[2] #<where i am stuck end [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
array problem with sorting - maybe easy but not for me
Top