HI,

I am using TDBC to connect to a postgresql database.

I am getting strange behavior with a tcl foreach statement.

Here is the list I am stepping through:

LIST: {186467 2225 1 122 771 {6 inch Ham Sub} 1 5.75 t {Plain no cheese} t 
White t Chips f {} {}} {186467 2225 2 13 1192 {Smoothie with chips} 1 5.50 t 
strawberry f {} f {} f {} {}}

The first element in each sub-list in the list is the shopping_cart_id

When I move through the list I assign values to variables using lassign

Every once and a while the variables are not assigned values. For example, I 
get an error saying that shopping_cart_id does not exist when I try to use in 
in the foreach loop. 

I have never had this issue before. 

The major difference in this project is that I am using TDBC to connect to the 
database. 

Is there a problem with TDBC that might cause this behavior?

Thank you.

Thorpe
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to