appinventor - setting label.text to a number

30 views
Skip to first unread message

bernhard

unread,
Feb 3, 2012, 6:34:25 PM2/3/12
to Android Programming at USF
Hi,

I've got a simple label and would like to set its text value to a
number.
The HitsCountLabel.Text block seems only to accept text values not
numbers.
Is there any way to convert a number to text? Or am I missing
something else?
Thanks,

Bernhard

bernhard

unread,
Feb 3, 2012, 7:15:16 PM2/3/12
to Android Programming at USF
Hi -
I must somehow have activated a type check. No idea how but
I erased all the blocks, opened the project again and now the addition
block
accepts the label text as input.
Would really like to know how this works :)

Bernhard

Julie Jones

unread,
Sep 30, 2012, 1:34:34 PM9/30/12
to android-progr...@googlegroups.com
I'm having the same problem.  Where I am trying to add a number to a value in a label,
but the block editor won't let me snap the Label.text into the math + block.

Reply all
Reply to author
Forward
0 new messages