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 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. 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now