2014년 12월 2일 화요일

Replace items between two lists after calculate the items each other list.

How to replace the items in lists after calculating each items between two lists.

Error:   (on screen)
List index smaller than 1
Replace list item: Attempt to replace item number 0 of the list (5 3 5). The minimum valid item number is 1.


For example:
There are two lists as followed:    ( 3 items in each list )
===========================================
Gain List :  ( -3  -4  -6 )
Pay List :  ( 5  3  5)                   
===========================================
Then I need to calculate the items each other (between two lists) with order and replace the value in the original position (index).
The items (value) in two lists will finally be 0.
nd I will display some text on my screen between every round.

We don’t calculate the item which value is 0.
My logic part:


























































How to calculate list.pdf



This is my "aia" file.

test_for_list_for_loop.aia


댓글 없음:

댓글 쓰기