Ghica
unread,Oct 10, 2015, 9:21:02 AM10/10/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to MIT App Inventor Forum
If you have a list with, for example, 6,3,4 I assume that you want the result to be 6-3-4=-1
Therefore, you should set the initial result to 6, the first element in the list, as I said, and iterate over the rest of the list starting at the second element.
Cheers, Ghica