Saturday 25 April 2020

How to Create Your Own Shopping List App in MIT App Inventor Part 2

How to Create Your Own Shopping List App in MIT App Inventor Part 2
How to Create Your Own Shopping List App in MIT App Inventor Part 2 create empty list It creates an empty list with no elements. make a list Creates a list from the given blocks. If you don’t supply any arguments, this creates an empty list, which you can add elements to later. This block is a mutator. Clicking the blue plus sign will allow you to add additional items to your list. add items to list Adds the given items to the end of the list. The difference between this and append to list is that append to list takes the items to be appended as a single list while add items to list takes the items as individual arguments. This block is a mutator. is in list If thing is one of the elements of the list, returns true; otherwise, returns false. Note that if a list contains sublists, the members of the sublists are not themselves members of the list. For example, the members of the list (1 2 (3 4)) are 1, 2, and the list (3 4); 3 and 4 are not themselves members of the list. length of list Returns the number of items in the list. is list empty If list has no items, returns true; otherwise, returns false. pick a random item Picks an item at random from the list. index in list Returns the position of the thing in the list. If not in the list, returns 0. select list item Selects the item at the given index in the given list. The first list item is at index 1. insert list item Inserts an item into the list at the given position. replace list item Inserts replacement into the given list at position index. The previous item at that position is removed. remove list item Removes the item at the given position. append to list Adds the items in the second list to the end of the first list. copy list Makes a copy of a list, including copying all sublists. is a list? If thing is a list, returns true; otherwise, returns false. reverse list Reverses a copy of the list with items in the reverse order. For example reverse([1,2,3]) returns [3,2,1] list to csv row mit app inventor 2 thunkable x
via YouTube https://www.youtube.com/watch?v=dmdEuwgT_MQ

No comments:

Post a Comment

😍Developer on Weekends #shorts #officememes #developermemes

😍Developer on Weekends #shorts #officememes #developermemes Welcome to the latest viral YouTube shorts meme for developers! 😍Developer on...