obj[property_name]

R.

On 2/20/07, Mikhail Shevchuk <[EMAIL PROTECTED]> wrote:

  Hello, group.

I got an object with several properties. I can access these properties
just by using "obj.property_name".
How can I access the given property if it is passed to the function as a
string? How to implement the following function?

function getObjectPropertyValue(obj:Object, property:String)
{
  return ?
}

This function should return "obj.property_name", if property =
"property_name".

Thanks.
--
A vivid and creative mind characterizes you.

Reply via email to