Nevermind, I thought that aStruct[aField] yielded a var name.
J
On Thu, 18 Apr 2002 12:15:26 -0400, in cf-talk you wrote:
>Try IsDefined(aStruct[aField]) ?
>
>Jamie
>
>On Thu, 18 Apr 2002 08:50:05 -0700 (PDT), in cf-talk you wrote:
>
>>The following code throws a syntax error:
>>
>><cfset aStruct=StructNew()>
>><cfset aStruct.aField="something">
>><cfif IsDefined("aStruct[aField]")>
>> aStruct[aField] is defined
>></cfif>
>>
>>Is this just some CF quirk that IsDefined doesn't like
>>brackets or is there some good reason for this?
>>
>>=====
>>I-Lin Kuo
>>Macromedia CF5 Advanced Developer
>>Sun Certified Java 2 Programmer
>>
>>__________________________________________________
>>Do You Yahoo!?
>>Yahoo! Tax Center - online filing with TurboTax
>>http://taxes.yahoo.com/
>>
>
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists