|
bags use: msg#00087lang.smalltalk.squeak.beginners
hello, I'm trying to use bags correctly, and i need a little help. I'd like to create a bag with some instance of a class with variables (for example: name, status). I'd like to make the identity of the bag on the name only, and be able in a loop to get the status of each item. With my example, the status is 'good' or 'bad', i want to check if one of the item with a certain name has the status 'good'. Could someone explain me how i can do that? benjamin
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: What was first: the chicken or the egg?, Ron Teitelbaum |
|---|---|
| Next by Date: | Re: bags use, Edward Stow |
| Previous by Thread: | What was first: the chicken or the egg?, 啸然 |
| Next by Thread: | Re: bags use, Edward Stow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |