Enumerables; can't live with 'em, can't live without 'em. Here's my proposal for how to create an enumerable or, in LOLCODE, a BUCKET: HAI I HAS A BUCKET IT IS mybucket MY BUCKET IS FULL OF noobs BTW My bucket is now set up to be a list of noobs. How do we add to the bucket? CAN mybucket HAS mynoob? AWSUM THX mynoob IS IN MY BUCKET O NOES I NO WANT HAVE UR STOOPID mynoob BACK KTHX KTHX How do we take from the bucket? IS mynoob IN UR BUCKET? AWSUM THX BUCKET NO WANT mynoob O NOES INVISIBLE "ERROR" KTHX KTHX How do we iterate? Simple, other people have covered it: IM IN UR mybucket LOOPIN IT CAN HAS A noob? AWSUM THX UR NOT A noob UR A haxxor LET MY otherbucket HAS UR haxxor O NOES I NO WANT KTHX KTHX ---- Looks good. However, I vote "DO NOT WANT" in place of "I NO WANT." --- //Tammi C., 2007/05/30 17:56// What exactly does "MY BUCKET IS FULL OF noobs" do? It doesn't seem like lolcode is statically typed, so why not just add things to the bucket as needed? Also the name of this page is really freaking long. When you're editing another page and have the contributions folder open the link to this page extends all the way under the text area. If you click the part of the text area over the link it will bring you here. Not fun. Maybe this is just Safari though. --- //Steve Losh, 2007/05/30 20:06// Steve - there's a debate raging over static typing (i'm in favour of it), so I thought I'd represent the enumerable code in this manner. It'd be easily adaptable. See my OOP proposal for more on typing. Apologies for the naming snafu - please feel free to pick a more suitable name for the page. --- //Dan Glegg, 2007/05/31 13:43//