使用for循環而不是if語句從列表框中累積值 [英]Accumulating values from a listbox with a for loop instead of if statements