01-02-2002 01:22 PM
01-02-2002 01:52 PM
01-03-2002 02:57 AM
12-13-2007 09:44 AM
12-13-2007 11:15 AM - edited 12-13-2007 11:16 AM
(That question would prabably deserve a new thread, because it has little to do with this 5 year old discussion ;))
Just do your comparison, convert the boolean array to 0,1 and sum it. If you expect to have arrays with more than 2^16 elements, you should convert to I32 before summing.
Here's a quick draft. Modify as needed:

12-17-2007 10:12 AM
12-17-2007 10:30 AM
I am glad it worked for you. 🙂
One little correction: The native output of "boolean to 0,1" is actually I16 (not U16), so you need to covert to I32 if you expect more than ~2^15 (not 2^16) TRUEs. 😉