VEX Question - How to compare two arrays and get the difference as 3rd array

   1508   0   1
User Avatar
Member
146 posts
Joined: June 2016
Offline
Hi Guys,
I am wondering if there is a way in vex to compare between two arrays and return the difference as third array,
Please let me know is there any way to do this, below is what I am trying to do

s[]@attribsA = detailintrinsic(0, "pointattributes");
s[]@attribsB = detailintrinsic(1, "pointattributes");

s[]@AB = @attribsA - @attribsB; //need mismatched attributes in a
s[]@BA = @attribsB - @attribsA; //need mismatched attributes in b

Thanks a lot in advance!
Edited by Mohanpugaz - Dec. 5, 2018 21:31:02
Mohan Pugaz
movfx
https://www.instagram.com/movfx/ [www.instagram.com]
https://www.youtube.com/channel/@_movfx
  • Quick Links