Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

That probably isn't worded right, but say I have 2 array, one holds 4 numbers (1 - 4)

The other Array has 3 numbers which range from 1 - 4. How can I scrub against the first list to find out which number the second array doesn't have?

 

I figured a for next loop but I can wrap my head around how to pull out the number that isn't matched...

 

Marc

Posted

I figured out a way, thanks Plause!

 

I looped through one array nested inside the first. If I found a match I set the value in the in the first array to zero. I then looped through the first array and pull out the only value greater than zero.

 

Caeanis

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...