I need help to fix this code

My screen:
image
My code:




Error:
image

You need to expect that your list of numbers may grow beyond your text box count, so use a ListView to display the numbers and a single Textbox to add to the list Elements one at a time.

Sum.aia (2.7 KB)

max
max_test


math.aia (38.2 KB)