I noticed there's an option in the (item __ of list) block called "any". I could never figure out what that means. Does it mean it checks if any item is named that, or does it pick an item from the list at random? (the latter being completely useless, since you can easily use "pick random (1) to ((length of list))".)
I'm just wondering, because I haven't really used lists that much.
Offline
It picks a random value
Offline
Yeah, I've seen people get confused by this one...they use it in a comparison and expect it to find a matching value...when all it really does is return a random value. Pretty useless, now that I think on it.
Offline
no wonder my Xs and Os project bugs sometimes, i thought it checked all the values!
Offline
Mozaz wrote:
Maybe it's a glitch, because it seems stupid to have an option like that, when you could just use the random block.
This block would be great if it did what it said on the cover.
It does do what it says it does. It picks any item.
Offline
coolstuff wrote:
Mozaz wrote:
Maybe it's a glitch, because it seems stupid to have an option like that, when you could just use the random block.
This block would be great if it did what it said on the cover.It does do what it says it does. It picks any item.
SO that block picks a random from the list and does something to it?
Offline
coolstuff wrote:
Mozaz wrote:
Maybe it's a glitch, because it seems stupid to have an option like that, when you could just use the random block.
This block would be great if it did what it said on the cover.It does do what it says it does. It picks any item.
I would think it it meant that it checks every item in the list, and if one of them equals a value then it does whatever.
Offline
Mozaz wrote:
coolstuff wrote:
Mozaz wrote:
Maybe it's a glitch, because it seems stupid to have an option like that, when you could just use the random block.
This block would be great if it did what it said on the cover.It does do what it says it does. It picks any item.
I would think it it meant that it checks every item in the list, and if one of them equals a value then it does whatever.
But isn't it random?
Offline