Hi,
I am quite new with MIT App Inventor since today.
Some tests with doing things on klicking buttons have been successful.
Now I want to calculate something.
I have 2 input text field ans one for the calculated output.
I try to get the value of one field to set a variable.
After use the value with math I wanna set the out put text field to this var.
I don't know why but it does not work.
Thanks for help
Cappy
ABG
3
You used component blocks, where you should have used component.Text blocks.
Your global variables set to components are only usable if your are going to be doing advanced component juggling, with multiple components.
Get rid of them, and use component.Text blocks directly in your pph formula.
Hi,
thanks for your reply.
Can you describe a little closer how to use component text blocks?
Boban
6
ABG
7
I fell into that global initialize trap then realized that would not provide new input to the formula.
Hi all,
I got it working last night this way ...
I know, I am not using vars ... but it this case I don't need!?
Any concerns?
Thanks
1 Like
ABG
11
When programming,
less is better.