I'm curious of the following DIM x AS INTEGER x=1 PRINT BTst(x,0) ' <<-result is TRUE (correct) PRINT BTst(x,0)=1 ' <<-result is FALSE (unexpected) -Fernando