[Proto-Scripty] Re: Array.without() problem

2009-03-06 Thread ColinFine
On Mar 5, 5:24 pm, webbear1000 normpo...@hotmail.com wrote: Hey peeps! I'm sure I'm missing something obvious here but I can't for the life of me figure out what's going wrong. I'm trying to use Array.without() to get rid of a number from an array in the fourth line of my code. The

[Proto-Scripty] Re: Array.without() problem

2009-03-06 Thread Jerod Venema
Use delete history[index]; If you're trying to remove elements from a history array (not an object), you probably want history.splice(index,1), or your indexes are going to be all out of whack. Using splice will cause your history array to have a length of n-1 (which is what you're probably