$ 0 0 Dear Friends,The segment of the source code and debug value was shown in the attached figure. I use a If (nLn<3) statement in the function and the nLn=5, but it always run to the return 0xFFFF. I don't know what's wrong with it? Sunglin.