Devloping calculaoter in as2.0

Hey ,im new in as…and devloping calculater in as2.0…i got a problem while making operation …+,-,*,/…i want to store previous value and operation should be done on prev and current as the electronic calsi does…i hav don some of the part,…plz tak a look…