VEX: Compare an Array to another, check if it matches{[SOLVED]}

   79   1   0
User Avatar
Member
1289 posts
Joined: 4月 2017
オフライン
Hi!

I have an array I need to compare to against a thousand other arrays to see if there a perfect match. I tried the find function but I think its not meant for comparing 2 arrays. I get an error.

My other solution would be to do a for-loop within another for-loop. Is there a function that does this already? I'm lazy...
Edited by olivierth - 昨日 16:48:42
-Olivier
User Avatar
Member
1289 posts
Joined: 4月 2017
オフライン
Doh!

I can simply do:

if(myArray_A == myArray_B) i@FoundMatch = 1;
-Olivier
  • Quick Links