If you define lung as a public field of the class Whale, then it is no
longer a dynamic property, it is declared with a strong type. I don't
believe those objects created at runtime via abc.xyz or abc[xyz] has any
type associated with them, assuming xyz is not already declared as a field
of abc.
Subject: Re: [flexcoders] Looking for what this[iscalled]
If you define lung as a public field of the class Whale, then it is no longer a
dynamic property, it is declared with a strong type. I don't believe those
objects created at runtime via abc.xyz or abc[xyz] has any type associated
with them
Isn't height the dynamic property of another dynamic property
this[something] (which is equivalent to this.something)?
the fact that you use [] syntax to access the property this.something is
just a syntactical shorthand and sometimes a workaround: you can't define
this.return (since return is a
Hi.
On Sun, Nov 30, 2008 at 10:11 AM, Dave Kong [EMAIL PROTECTED] wrote:
Isn't height the dynamic property of another dynamic property
this[something] (which is equivalent to this.something)?
I wouldn't exactly say it like that. Dynamically accessing a property of an
object using the []
I call it array notation but I'm not sure if that's technically correct
Nate Pearson wrote:
What's it called when I call something by using a string?
Like when I do this[someObject].height = 10
someObject is a string.
Thanks!
-Nate
its the index of an associative array
On Fri, Nov 28, 2008 at 10:30 AM, Jake Churchill
[EMAIL PROTECTED]wrote:
I call it array notation but I'm not sure if that's technically
correct
Nate Pearson wrote:
What's it called when I call something by using a string?
Like when I do
its an String Array the notation itself describes its an array [].
On Fri, Nov 28, 2008 at 2:00 PM, Jake Churchill [EMAIL PROTECTED]wrote:
I call it array notation but I'm not sure if that's technically
correct
Nate Pearson wrote:
What's it called when I call something by using a
What's it called when I call something by using a string?
Like when I do this[someObject].height = 10
someObject is a string.
Thanks!
-Nate
8 matches
Mail list logo