don't hesitate to look at the fantastic tutorial yourself...
http://appinventor.mit.edu/
is in list?
![](https://ci3.googleusercontent.com/proxy/kAG9SJWhD6d7rZjoj0Ml2HCQUZ6fG6qJn89brofh47xUq8odo-8Mz_sRPmJgy8Bw9q6kBOCkSJkbe_b2JJKb5AVsQAmPdkSTGHXiN3vlN_3SnyFFu6h6aJNkuRafHJa9aQ1emewabwG2Ow=s0-d-e1-ft#http://appinventor.mit.edu/explore/sites/all/files/UserGuide/blocks/lists/inlist.png)
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.
http://appinventor.mit.edu/
index in list
![](https://ci6.googleusercontent.com/proxy/lfNq-1rnFCJBVdIuEcvN6Qz4Hr3oZVWo7bi0RzGObXiXBekCvWhmVYiqy40DLEMdt-RbRYl7Hjr8bU3733Vlc4LqvMmZJv2qlWkTbw0Nh15pp-jQw9nSeJ4kx8Zuh94ZUyBL4lq_km8tlTXxXIg0=s0-d-e1-ft#http://appinventor.mit.edu/explore/sites/all/files/UserGuide/blocks/lists/indexinlist.png)
Returns the position of the thing in the list. If not in the list, returns 0.
댓글 없음:
댓글 쓰기