I know that there is already a block for "<list contains item>" but it is only somewhat useful in projects (okay, it can help optimize lots of routines by saving search time) but there are a few blocks that would be even more useful.
First of all, you could replace the <list contains item> Boolean with an (occurrences of item in list) reporter, which could serve the same purpose but be even more useful. <list contains item> is the same as < (occurrences of item in list) > (0) >.
Alternately, a (position of item in list) block is even more useful and would also serve the same purpose of the <list contains item> in that if the list contains the item, it will return a positive value, and otherwise returns 0. This block would be very useful, since it has many applications.
Last edited by DarthPickley (2010-04-05 16:13:01)
Offline
I also want an (item containing ____ ) to reduce the need for huge searches...
Offline