"tee chwee liong" <tcl76 at hotmail.com> wrote > is there a way to convert from string to long? for eg: i want to > concatenate all the arrays into data and make it same type (long) as > data1. int() should work ok. Just remember to supply the base: eg. int(s,16) for a hex string HTH, Alan G.