All pastes #352559 Raw Edit

Untitled

public text v1 · immutable
·published 2007-02-12 22:22 UTC
rendered paste body
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