Comparing Array Element
I have this array
var MyArray:Array;
var ABCD:Array;
var Blu:Array;
var Red:Array;
var Black:Array;
var Pink:Array;
MyArray = [1,2,3,4,5,6,7,10,11,12];
ABCD = ["A","B","C","D"] // A: 1,2,3,4,5,6,7,10,11,12 B: 1,2,3,4,5,6,7,10,11,12 C: 1,2,3,4,5,6,7,10,11,12 😧 1,2,3,4,5,6,7,10,11,12
Blu = [14,9,10,1,2,3,12,5,6,7]; // = A
Red = [13,9,10,1,2,3,4,5,6,7]; // = B
Black = [8,9,10,1,2,3,4,5,6,7]; // = C
Pink = [8,9,10,1,2,3,11,5,6,7]; // = D
1-.) and want to leave for a trace like this:
1A
2A
3A
4A
5A.... up 12
1B
2B
3B
4B
5B... up 12
1C
2C
3C
4C
5C ...up 12
1D
2D
3D
4D
5D...up 12
2-.) then compare the position of each element is stored in the array, and compare to see which is greater
would read high to low:
1A // Value = 14
1B // Value = 13
7A // Value = 12
7D // Value = 11
3A // Value = 10
3B // Value = 10
3C // Value = 10
3D // Value = 10
2A // Value = 9
2B // Value = 9
3C // Value = 9
3D // Value = 9
..... ETC...
@
if there is another way to organize arrays please show me the code or improve
Thnks All!
