generic identifier

Posted by Werner on Stack Overflow See other posts from Stack Overflow or by Werner
Published on 2010-06-03T12:41:09Z Indexed on 2010/06/03 12:44 UTC
Read the original article Hit count: 297

Filed under:
|
|
|

Hi,

as I probably do not describe the problem in the right terms, I was not able to get an answer with google. Please excuse!

In the following code, I would like to replace 'hardcoded' identifier COMMENT with the variable editedField. How to do that?

var editedField:String = event.dataField;
if (model.multipleProcessingData[i][editedInformationProductNO].COMMENT != null{
    ...
}

© Stack Overflow or respective owner

Related posts about flex

Related posts about dynamic