elfege
USA
Asked
— Edited
Resolved by DJ Sures!
Is it possible to get the sum of all the values in an array beside using a simple addition, index entry after index entry?
Thank you.
Thank you! Now I'm looking forward to get the smallest value of an array... sort() doesn't seem to provide with this value while I thought it would by "magically" making the first index to bear the smallest value...
It sure does - here...
Now the $test[0] will be the value 5
Yes it does work this way indeed... I don't know what happened, for a moment it didn't or it seemed that it didn't so I constructed another one of my spaghetti codes using simple sort(value1, value2) then sort() of sort(), of sort()... lol... to eventually realize that I had done it this way already... a couple weeks ago...
Nice
Sometimes i forget to hit the REFRESH button when viewing the Variable Tab editing scripts. That's caught me a few times, maybe that's what happened
Likely cause! Totally rings a bell!