2014년 12월 25일 목요일

know that position occupies a certain element in a list to delete it without ris

I know that position occupies a certain element in a list to delete itwithout risking to beat the index

my problem is the following:
button1: 1 item
button2: item 2
button3: empty
Button4: item 4
Button5: element 5

in the code when I delete the attachment element 5 goes in errorbecause the items in the list are actually 4

thank you.




before removing an item from the list, first check, if the list is long enough...



you have an example of how to use it
index in the list that asks "thing" and "list"?



http://www.imagnity.com/tutorials/app-inventor/list-blocks-on-app-inventor/


댓글 없음:

댓글 쓰기