In CCS C, I've got the following statements: int SlopeSetpt = 250; Signed int Slope = 0; . . . . if (slope >= SlopeSetpt){ do some code... } I keep having trouble that the IF statement is true, and executes even though 0 should be less than 250. How would CCS C evaluate this statement given that the two variables are different types? -- Lawrence Lile Sr. Project Engineer Salton inc. Toastmaster Div. 573-446-5661 Voice 573-446-5676 Fax -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.