Ooops,
forgot one little pice of information, it is a 2-dimension
array.
This
seems to work:
<cfset
arrayAppend(Application.SARBitMap[Attributes.ARName][CurrentRow],
SARName)>
<cfset
arrayAppend(Application.SARBitMap[Attributes.ARName][CurrentRow],
SARPos)>
Thanks
for the help.
Michel
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Budan
Sent: Wednesday, May 15, 2002 2:18 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFTALKTor] WHY???ArrayAppend takes an array as its first argumentsorta like arrayAppend(myArray,something)if you do arrayAppend ( "myArray", something) you are giving it a text stringAlso it doesn't take a position paramater, the [blah.currentRow], since you are appending as opposed to inserting at a specific point, it detemines the array position.-steveyour milage may vary since your not smoking the samething I am-----Original Message-----
From: Michel Rouse [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 1:48 PM
To: Toronto CFUG (E-mail); Bay Area CFUG (E-mail)
Subject: [CFTALKTor] WHY???I am having an issue with this bit of code:
<cfloop query="qGetSARs">
<cfset tmp=ArrayAppend("APPLICATION.SARBitMap.#ATTRIBUTES.ARName#"[qGetSARs.CurrentRow], qGetSARs.SARName)>
<cfset tmp=ArrayAppend("APPLICATION.SARBitMap.#ATTRIBUTES.ARName#"[qGetSARs.CurrentRow], qGetSARs.SARPos)>
</cfloop>
I am getting the following error:
Invalid parser construct found on line 9 at position 68. ColdFusion was looking at the following text:
[
Invalid expression format. The usual cause is an error in the expression structure
Any help would be appreciated.
Thanks in advance,
Michel
