Why am I getting this error?

I am getting data from the site.

I am making 2 lists from the data.

Then I can't get the labels in the list

Then I Label the Listed Items, Of Course But It's a Very Long Block. I Have to Take It with a Loop


There is no problem here, but very long blocks are formed


Unfortunately, the emulator only goes back to normal once in 100 attempts. That's why I couldn't share my screenshot.


When I saw TIMAI2's Solution suggestion, I listed the Tags and tried it

As it already has been said, uae label components
It is the last block in the label drawer

Taifun

1 Like

Thank you very much :+1:

:flushed: :flushed: :flushed:

1 Like

You were not there. I was going to thank you first. Thank you very much.

:man_facepalming:

@>-->---

Now I have another problem that I can't solve.

The numbers in the list come to the labels.

but It is not possible to operate with numbers.

It gives an error

I used TextBox instead of Label. But I still got the same error

Please elaborate and provide a screenshot of your relevant blocks
.

What abour revealing the exact error message?

Taifun


"The operation modulo cannot accept the arguments: , ["150"], [com.google.appinventor.components.runtime.TextBox@ec39260]
"

It is not possible to process the number 150 that I wrote in a separate TextBox.

This

gives you a component...which looks like this

remember, you have components in that list,... so if you want to get the text of that textbox component, use the get text block from the advanced textbox drawer together with that select list item block

Taifun

1 Like

image
It Sees It As Text.
Even If I Multiply It By 1, It Still Sees It As Text. Same Error

Are you French?

AI2 needs decimal points, not commas in its numbers

1 Like

I thought the opposite and replaced the Dots with Commas.
The problem was that I didn't select text from the drawer.
Thank you very much to all of you.
Merci beaucoup à vous tous
I am not French.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.