hi, i am have made a button, and everytime i click it it takes a value from my input box, and it subtracts it and stores it back into the input box value. but what i am trying to do is, store my value into an array or anything everything my button is clicked.
so for example i want to do this,
balance = 100
button is clicked
balance is now 90
and i want
array to have 100
array to have 90
and everytime i want it to continue to append to the array but when i enter my button.
i have tried many things and everytime it always stores the value into array  and over writes it