Same error here. You need to address an array like this:

array[firstdimension][seconddimension]

Greetings from Switzerland
Gert Franz

Railo Technologies       Professional Open Source
skype: gert.franz            g...@getrailo.com
+41 76 5680 231              www.getrailo.com


-----Ursprüngliche Nachricht-----
Von: Stephens, Larry V [mailto:steph...@indiana.edu] 
Gesendet: Freitag, 5. Februar 2010 15:10
An: cf-talk
Betreff: SPAM-LOW: Arrays - humbug! - Part 2


Array problems #2

Since I have nothing to load into the array, yet, my last functional
directive was

<cfset SESSION.Report.Lats = ArrayNew(2)>


The next piece of related offending code is

<cfif ArrayLen(SESSION.Report.Lats) GT 0>
 Lateral reporting structure:
 <ul>
  <cfloop collection="SESSION.Report.Lats" index="i">
   <li>
    <a
href="mailto:#SESSION.Report.Lats[i,8]#";>#SESSION.Report.Lats[i,4]#</a>
(#SESSION.Report.Lats[i,5]#) Sent: #SESSION.Report.Lats[i,9]#<br>
    TX: #SESSION.Report.Lats[i,6]# FAX: #SESSION.Report.Lats[i,7]# Email:
#SESSION.Report.Lats[i,8]#<br>
    <blockquote>#SESSION.Report.Lats[i,3]#</blockquote>
   </li>
  </cfloop>
 </ul>
</cfif>

I get another invalid construct error for something at
#SESSION.Report.Lats[i,5]#. No apparent complaints about the first two array
elements.

Again, this code isn't executing because I have no data to load into it yet.

What am I missing? Thanks.

Larry Stephens
steph...@indiana.edu




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330426
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to