Paulo Fassina

unread,
May 28, 2016, 2:45:20 PM5/28/16
to MIT App Inventor Forum
Good afternoon friends!

I have a problem:

INDEX IN LIST THING is always returning 0 (zero).
But the words that I seek are there, they exist.
For example:
"I"
he does not think and returns zero.
The original file is DICIONARIOFILE1 (WHAT IS A .CSV FILE)
This file is converted to "List from csv table TEXT"> DICIONARIOLIST (LIST).

WHY IT IS NOT THE ITEM?

Can you help me?

Thank you.
Paulo

Index in list thing.jpg
teste1[1].csv

Taifun

unread,
May 28, 2016, 4:06:49 PM5/28/16
to MIT App Inventor Forum
use Do it to debug your blocks
Taifun

Abraham Getzler

unread,
May 28, 2016, 9:20:55 PM5/28/16
to MIT App Inventor Forum
CSV means Comma Separated Values.
You used semicolons(;) where you should have used commas (,).

Also,for a two column table, you can use the lookup in pairs block for easy translations without loops.

Reply all
Reply to author
Forward
0 new messages