I am using the exact code format in the Beginner's guide page 44 for updating a label value based on keypad entries. However, the compiler gives the following error:
B4A line: 1719
BaLblDisplayDW.Text = BaLblDisplayDW.Text & Send.Tag
javac 1.6.0_26
src\am\game\pkg\main.java:755: unreachable statement
mostCurrent._balbldisplaydw.setText((Object)(mostCurrent._balbldisplaydw.getText()+String.valueOf(_send.getTag())));
^
1 error
The bold line is my code. "Send.Tag" is simply the string value of the tag I set on the numerical keypad (0 - 9). Send is a button type that I set = to the "sender" of the click event.
I also tried to assign the Send.Tag value to a string variable I declared and got a similar "unreachable statement" error.
Thanks or any help.
B4A line: 1719
BaLblDisplayDW.Text = BaLblDisplayDW.Text & Send.Tag
javac 1.6.0_26
src\am\game\pkg\main.java:755: unreachable statement
mostCurrent._balbldisplaydw.setText((Object)(mostCurrent._balbldisplaydw.getText()+String.valueOf(_send.getTag())));
^
1 error
The bold line is my code. "Send.Tag" is simply the string value of the tag I set on the numerical keypad (0 - 9). Send is a button type that I set = to the "sender" of the click event.
I also tried to assign the Send.Tag value to a string variable I declared and got a similar "unreachable statement" error.
Thanks or any help.
Last edited: