NevadaRon
07-24-2005, 02:29 AM
I am having the worst time with this piece of code. I know this used to work before, and I can not remember making any changes to the site or to the database.
<%
FOR i = 0 TO UBOUND( localCart, 2 )
IF localCart( CARTPRODUCTID, i ) <> "" THEN
orderTotal = orderTotal + ( localCart( CARTPRICE, i ) * localCart( CARTQUANTITY, i ) )
%>
I get an error on the last line of this code. I have put NAMETYPE commands just above this code, and every variable is INTEGER.
What else should I look at, already been stumped for a few hours.
Ron
<%
FOR i = 0 TO UBOUND( localCart, 2 )
IF localCart( CARTPRODUCTID, i ) <> "" THEN
orderTotal = orderTotal + ( localCart( CARTPRICE, i ) * localCart( CARTQUANTITY, i ) )
%>
I get an error on the last line of this code. I have put NAMETYPE commands just above this code, and every variable is INTEGER.
What else should I look at, already been stumped for a few hours.
Ron