Is there an easy way to add all items in a delimited string together, assuming they are all numbers?
I have a bunch of figures in a list box, that I am trying to have added together, to show a total in a text object beneath. Right now I have it set so that on show, it gets all valuenames from a certain section in an ini file. Those valuenames' values are the figures being added. Never seems to work the same twice though...sometimes it works perfect, most of the time it doesnt. I am hoping there is an easy way to add the items in the list box.....
Rob
I have a bunch of figures in a list box, that I am trying to have added together, to show a total in a text object beneath. Right now I have it set so that on show, it gets all valuenames from a certain section in an ini file. Those valuenames' values are the figures being added. Never seems to work the same twice though...sometimes it works perfect, most of the time it doesnt. I am hoping there is an easy way to add the items in the list box.....
Rob
Comment