Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ARRAYS: Displaying the content of one cell

Status
Not open for further replies.

arcangel

Programmer
Aug 2, 1999
6
US
I use a one dimension array that is populated in a user input screen. When I try evaluate the content of each cell, I get error msgs. Here is the code:<br>
<br>
&lt;CFSET nCount=1&gt;<br>
&lt;CFLOOP CONDITION="nCount LTE 10"&gt;<br>
#arBoxType[nBox]#&lt;BR&gt;<br>
&lt;CFSET nCount=nCount+1&gt;<br>
&lt;/CFLOOP&gt;<br>
<br>
WHATS THE SYNTAX TO DISPLAY AN ARRAY CELL???
 
First of all, but this is probably not a problem anymore, your code has:<br>
<br>
#arBoxType[nBox]#&lt;BR&gt;<br>
<br>
instead of:<br>
<br>
#arBoxType[nCount]#&lt;BR&gt;<br>
<br>
---
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top