Thank you again Mr. Johnson,
I have found the way to make the button print out "Hi" on pressing. However I still can't figure out how I can make it "erase" my old variable (f.e. m1) and use the one which the button is labelled with. (F.e. the button says m1 = 1500 and then the calculations are done with 1500 instead of the preset 6000)
Also is there a function that will just "clear" my current painting, so that it can be performed with the new variables instead of the default ones?
The current code looks like this:
Help is again greatly appreciated.
Thank you
chippa