On 27-5-2010 8:00, mierdatutis mi wrote: > The item objects are declared before the while > Thanks I was talking about the variable 'a' that you use. If that is uninitialized, I can imagine your code going wrong. André