<gregj at ancor.com> wrote: > if (type(argvalue) == 'int'): > argvalue = long(argvalue) type(value) return type objects, not strings. better make that: if type(argvalue) is types.IntType: ... or: if type(argvalue) is type(0): ... </F>