Question
Bug in ArrayIsDefined?
Okay, this is either stupidly simple or there is a bug in
ArrayIsDefined. If I code the following
<cfset myArray = Arraynew(2)>
<cfset myArray[1][1] = 1>
<cfset myArray[1][2] = 2>
<cfoutput>#ArrayIsDefined(myArray[1], 3)>
The code bombs when run saying that the array only has two elemets. If I put an additional <cfset myArray[1][3] = 3>, then the code returns "YES" . Anybody else seeing this? What stupid thing am I doing wrong?
Thanks
Jim
<cfset myArray = Arraynew(2)>
<cfset myArray[1][1] = 1>
<cfset myArray[1][2] = 2>
<cfoutput>#ArrayIsDefined(myArray[1], 3)>
The code bombs when run saying that the array only has two elemets. If I put an additional <cfset myArray[1][3] = 3>, then the code returns "YES" . Anybody else seeing this? What stupid thing am I doing wrong?
Thanks
Jim
