
02-15-2007, 06:14 PM
|
|
Registered User
|
Join Date: Jan 2004
Posts: 403
|
|
"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; |
|
|
|