Anonym 53 Posted November 26, 2012 Report Share Posted November 26, 2012 Anyone who knows a way to extract everything BUT the common things of two lists? Thanks! Quote Link to post Share on other sites
VaultBoss 310 Posted November 26, 2012 Report Share Posted November 26, 2012 This is simple to do, although requires two extra lists than the original: clear list(%mylist_A) add list to list(%mylist_A, $list from text("1,2,3,4,5,6,7,8,9,10", ","), "Delete", "Global") clear list(%mylist_ add list to list(%mylist_B, $list from text("2,3,4,5,6,7,8,9,10,11", ","), "Delete", "Global") clear list(%mylist_C) add list to list(%mylist_C, $subtract lists(%mylist_A, %mylist_, "Delete", "Global") clear list(%mylist_D) add list to list(%mylist_D, $subtract lists(%mylist_B, %mylist_A), "Delete", "Global") add list to list(%mylist_C, %mylist_D, "Delete", "Global") ...but it keeps things easy to understand and follow in the DEBUGGER. 1 Quote Link to post Share on other sites
VaultBoss 310 Posted November 26, 2012 Report Share Posted November 26, 2012 Here is a simpler one, indeed - much better! clear list(%mylist_A) add list to list(%mylist_A, $list from text("1,2,3,4,5,6,7,8,9,10", ","), "Delete", "Global") clear list(%mylist_ add list to list(%mylist_B, $list from text("2,3,4,5,6,7,8,9,10,11", ","), "Delete", "Global") clear list(%mylist_C) add list to list(%mylist_C, $subtract lists(%mylist_A, %mylist_, "Delete", "Global") add list to list(%mylist_C, $subtract lists(%mylist_B, %mylist_A), "Delete", "Global") 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.