Parameter 1 of function IsDefined must be a syntactically valid variable name?

2007-08-24 Thread Jeff Chastain
I have a rather deeply nested structure set which at one level has an array in it. I am trying to test that a value is defined with the following code: isDefined('base.dataSets.user.dataElements.firstName.assertions[1].assertId' ) However, I am getting the following error message:

Re: Parameter 1 of function IsDefined must be a syntactically valid variable name?

2007-08-24 Thread Jake Pilgrim
This should work for you: structKeyExists(base.dataSets.user.dataElements.firstName.assertions[1],'assertId') Jake Pilgrim ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and

Re: Parameter 1 of function IsDefined must be a syntactically valid variable name?

2007-08-24 Thread Jeff Chastain
It does and it gets me around the issue, I just don't get why isDefined would say that is not a syntactically correct variable name. Thanks -- Jeff This should work for you: structKeyExists(base.dataSets.user.dataElements.firstName.assertions[1],'assertId') Jake Pilgrim