PDA

View Full Version : What's a container?


Scott Ayers
11-05-2009, 05:15 PM
Can anyone give me a layman's definition of a container in COFFEE?
I'm still a little bit fuzzy about when and why to use one.

Thanks,

-ScottA

donelgreeko
11-05-2009, 05:39 PM
Hi,

a container is like a dictionary. Each value is set or read by an ID. So you can store several values in one container. Hope this helps.

Cheers, don

Scott Ayers
11-05-2009, 08:55 PM
Thanks Don.

But that's still a bit too vague.
Can you possibly give me an example or two?

I understand that containers are a very broad thing that can have many applications. So it's hard to describe them with one or two examples. But I'm afraid I'm the kind of person that needs examples to learn something.

Is it similar to an array?

CGTalk Moderation
11-05-2009, 08:55 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.