kbdprogm2() Func Local x Local y Comment: Don't know what modes we're in so store them getMode("Angle")->x getMode("Complex Format")->y Comment: I want the output as degrees and polar setMode("Angle","DEGREE") setMode("Complex Format","POLAR") Return ans(1) Then somehow I want to return the Modes to x and y values EndFunc