Re: Program to add Mixed numbers (TI-92)


[Prev][Next][Index][Thread]

Re: Program to add Mixed numbers (TI-92)



At 10:34 PM 12/12/96 EST, Benjamin D Kohler-Crowe wrote:
>>disp Ipart x
>>disp (Fpart x)>Frac
>
>Yeah, but it would be better to store it to a variable, since progs
>_don't_ update the Ans & Entry variables.  (At least in '85)
>
Well, they can update Ans.

if the program is supposed to put variable x into Ans, just have the last
line of the program be "x". No Disp, Quit, or Return (well, actually I don't
know what quit and return prevent it from working). It'll put x into Ans.

--Ludwig Pummer
----------------------------------------------------------------------
ludwigp@sns.com     http://www.sns.com/~ludwigp <- Updated 11/22/96
PGP Key & Geek Code available on web page