On Sat, 12 Jun 1999 [EMAIL PROTECTED] wrote:
>
> In a message dated 6/12/99 2:27:19 AM, [EMAIL PROTECTED] writes:
>
> >> A container is an area to put data. It can be a variable, property, global,
> >
> >> or chunk thereof.
> >
> >That's the traditional xTalk definition, but if that's what you're
> >supporting, why add the term to the language?
> > Regards,
> > Scott
> >
>
> Because it proved impossible to simply let the user stick a container into a
> variable. There were too many syntax issues. So now they declare a parameter
> or a variable 'container' before storing containers in it. Otherwise it's a
> plain vanilla xtalk variable.
>
> set var to the title of me -- means something
>
> container var
> set var to the title of me -- means something different
Sorry to be dense, but I'm still not sure I get it. In your above
example, if I then run "put hello into var", the title property of
some object will be changed? Is that what it is? If so, it sounds
like a reference to me, and this brings up a lot of questions such as
how do you handle things like deletion of the referred-to container?
How do you establish a reference to a variable?
Regards,
Scott
> Dan
>
********************************************************
Scott Raney [EMAIL PROTECTED] http://www.metacard.com
MetaCard: You know, there's an easier way to do that...