In kixtart you have to watch out for data declaration types. Unfortunately there is no way to explicitly declare a variable to be a string variable versus a numeric variable. Kixtart seems to implicitly take its declaration from the 1st use of the variable. From that point on the type is fixed. I bet one side of your test is declared as string & the other as a numeric.
_________________________
Jack