What to connect this block to?

I really can't understand lists_create_with

This block initializes the variable as a list or clears an existing list. This is used with a variable.

1 Like

Lets take an example -
If you want to make a list of words written in a textbox.
When you write the code, you do not know what will be the input.
So when you will initialize a global variable to create empty list.
Once you get input in a textbox, you can use the add items to list block to update the list of words written in the textbox.

Hello Nadja

If you are interested in preventing your hair going gray, spend a day doing the tutorials.

https://appinventor.mit.edu/explore/ai2/tutorials.html

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Thanks so much @Taifun! I have been struggling to make lists work! I know how to make and create and add to them, but getting a url from one and making the web viewer go to it has been hard. Thanks!
@Taifun @Nadja_Krzyzanska Also sign up for Mobil Course. It will help with ai2 and others.

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