You may need to post that code were the array is being set up, I would say
that you have the array dimension incorrect but want know for sure until I
see the code.
regards
Andrew Scott
Cold Fusion Application Developer
-----Original Message-----
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: 06 October 2000 11:57
To: CF-Talk
Subject: CF Arrays question
This is a multi-part message in MIME format.
------=_NextPart_000_036A_01C02F0E.BE3F4900
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am playing around with arrays for the first time and I get this error =
when I try to initialize an array with more than 3 columns.
Can arrays only have 3 columns?
jon
Error Diagnostic Information
Parameter 1 of function ArrayNew which is now "4" must be an integer in =
the range 1 to 3 inclusive=20
The error occurred while evaluating the expression:=20
pricebreaks =3D ArrayNew(pricebreak_columns)
------=_NextPart_000_036A_01C02F0E.BE3F4900
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am playing around with arrays for the =
first time=20
and I get this error when I try to initialize an array with more than 3=20
columns.</FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2>Can arrays only have 3=20
columns?</FONT></FONT></DIV>
<DIV><FONT face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial><FONT size=3D2>jon</FONT></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>
<H4>Error Diagnostic Information</H4>
<P>Parameter 1 of function ArrayNew which is now "4" must be an integer =
in the=20
range 1 to 3 inclusive=20
<P>The error occurred while evaluating the expression:=20
<P><PRE> pricebreaks =3D ArrayNew(pricebreak_columns)
</PRE><PRE> </PRE></FONT></DIV></BODY></HTML>
------=_NextPart_000_036A_01C02F0E.BE3F4900--
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.