Oh boy... I've done it again... I do apologise :)
> > (1) A property variable is really just a static variable on
> steroids. It
> > can hold any kind of value--integer, string, whatever. This kind of
> > property variable is usually defined as:
> > proprtey pPause
> >
> > The point is, even if you have a property variable, it
> doesn't have to
> > contain a property. Make sense? I think you're better off
> with something
> > like pPause = FALSE.
>
> What???
> Well I really dont want to question Kerrys knowledge here but
> i get really confused by this.
> Correct me if i�m wrong but:
>
> * The # sign indicates the "symbol" data type
True
>
> * The use of the # in "call #myHandler" would then be equal
> to using a symbol to acces a handler name in an object of any kind.
True
>
> * A property is a property is a property regardless if it�s
> in a list or a behavior and does not use the # sign to define
> itself. The use of symbols as properties in a property list
> is optional, but recommended.
True
>
> * A property variable can�t contain anything else than a property.
Ah, here's the catch...
You're both right, there has just been a mix-max of terminology that
confuses the issue.
What Kerry means to say is that a property variable can have any data type
as it's value - both symbols and booleans can be an object's or behavior's
property.
The fact is, that any kind of value - an object, an image, a boolean, a
symbol etc. is a property value, if it's stored in a property variable.
The fact that the #sign is used for the _variables_ in a property list, must
have been confused with a "symbol" data type being a "property" data type.
What I couldn't understand origninally was why Ramesh was using a symbol
instead of a boolean in his flag property (pPause), since a boolean is the
data type that was specifically "designed" to do that job. I'm afraid his
answer confused me even more, untill I got "unconfused" again by Kerry ;)
Ramesh, there's absolutely no criticism implied, I was just curious why you
used a different data type then I would have. That's how we all learn - I
know I do...
Regards,
Karina Steffens,
Lead Programmer
Martello Media Ltd.
4 Islington Avenue
Sandycove
Co. Dublin
Tel: +353 1 2844668
Fax: +353 1 2803195
http://www.martellomm.ie
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]