View Single Post
  #1  
Old 02-15-2007, 06:14 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
"Reversing" Arrays

Hrm, is there a function that reverses a array?
like
this.array[ 0 ] = 2;
this.array[ 1 ] = 3;
this.array[ 2 ] = 1;

now this.array.reverse(); or something like this would make

this.array[ 0 ] == 1;
this.array[ 1 ] == 3;
this.array[ 2 ] == 2;
Reply With Quote