Edwin Posted October 29, 2015 Report Share Posted October 29, 2015 Hi, I'm using Unistream for the first time and I want to know if it is possible to add up the values of an array? And is it also possible to perform a NOT operation on an Integer? Thanks in advance, Edwin Quote Link to comment Share on other sites More sharing options...
Ofir Posted November 11, 2015 Report Share Posted November 11, 2015 Hi, What do you mean by "add up the calues of an array"? Do you wish to sum all the values of an array? If this is the case then of course you can write a simple logic that loads each time a value from the array according to offset and add it to some integer. What is the operation NOT for an integer? what shoud be the result? If you wish to toggle all the bits of the integer you can use the utility XOR where A is the number and B should be FFFF. Quote Link to comment Share on other sites More sharing options...
Edwin Posted November 12, 2015 Author Report Share Posted November 12, 2015 Yes, that is what I want to do. I have now done it with a formula. The NOT operation is to toggle all the bits, I have now done it by subtracting the value from FFFF. Thanks. Quote Link to comment Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.