Post Reply 
Store and reuse intermediate variable
12-07-2022, 02:19 PM
Post: #6
RE: Store and reuse intermediate variable
Hi Oierpa,

What Pinkman is suggesting is that you do this:

Code:
<<
  0 -> R   @ Dummy value to go into R which gets overwritten later
  <<
    "Ins C t A " {
    ":C:
     :t:
     :A:" {1 0} V} INPUT OBJ-> -> C t A 
    << 'C* (t/100/n)/(1-(1+t/100/n)^(-n*A))' ->NUM 'R' STO
        'R*A*12' ->NUM "M" ->TAG 
    >> 
  >>
>>

Note that during the INPUT, if the user recalls 'R' then they get the local zero value.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Store and reuse intermediate variable - BruceH - 12-07-2022 02:19 PM



User(s) browsing this thread: 1 Guest(s)