I would do the calc once. I would make the last one default just in case the calc provides you with something funky. Kee __put sin(pAngleInRadians) into sinCalc __switch ____case sinCalc > 0 ______put 1 into tX ______break ____case sinCalc = 0 ______put 0 into tX ______break ____default ______put -1 into tX ______break __end switch