Dear Sean,

I am getting errors that says   "The element at position 76 cannot be
found." in this findItem method.

And I have no clue where construction of arrays would fail. 

And regarding the 'var' issue, I'll start reviewing all my components.

Warm Regards,
Sameer S. Kekade.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sean Corfield
Sent: Thursday, 11 November 2004 6:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [CFCDev] Shopping cart cfc


On Thu, 11 Nov 2004 11:49:41 +1100, Sameer Kekade
<[EMAIL PROTECTED]> wrote:
> Other than that, Is there any better way to do what I am doing right 
> now?

Yeah, be warned that when you assign an array, you copy the entire array
(in findItem) which is very inefficient. The 'var' issue is a
*big* issue - every single variable that is local to a function *must*
be declared with 'var'!!

You also didn't say what the error was that you're getting.
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 1 invite

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
[EMAIL PROTECTED]

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at 
[EMAIL PROTECTED]

Reply via email to