title: creating array of structs troubling
body: <p>I am trying to create an array of structures, in my Application.cfm file, which can then be appended to in further pages. I am following the <a href="http://tutorial173.easycfm.com/index.cfm?fuseaction=tutorial&amp;tutorialID=173" rel="nofollow">EasyCFM tutorial #173 by Charlie</a>. I am using it this way:</p>
  
  <pre><code>&lt;cfset session.box_status = arrayNew(1) /&gt;
  &lt;cfset session.box_status[1] = structNew() /&gt;
  &lt;cfset session.box_status[1].partner_id = '0' /&gt;
  &lt;cfset session.box_status[1].partner_username = '' /&gt;
  &lt;cfset session.box_status[1].status = '0' /&gt;
  </code></pre>
  
  <p>In my page, I am appending to the structure like so:</p>
  
  <pre><code>&lt;cfloop from="1" to="#arrayLen(session.box_status)#" index="i"&gt;
    &lt;cfset session.box_status[i].partner_id = ArrayAppend(i,FORM.partner_id) /&gt;
    &lt;cfset session.box_status[i].partner_username = ArrayAppend(i,FORM.partner_username) /&gt;
    &lt;cfset session.box_status[i].status = ArrayAppend(i,FORM.box_status) /&gt;
  &lt;/cfloop&gt;
  </code></pre>
  
  <p>But am getting an error: </p>
  
  <pre><code>    The web site you are accessing has experienced an unexpected error.
  Please contact the website administrator.
  
  The following information is meant for the website developer for debugging purposes.
  Error Occurred While Processing Request
  Object of type class java.lang.Double cannot be used as an array 
  </code></pre>