CampSoup1988 Posted June 16, 2011 Share Posted June 16, 2011 Ok, lets say I want to track the donations of three people. I have a variable called DonationTotal which stores [0,0,0]I have tried a number of ways to update lets say the second number in the list, but I keep getting errors. Oh, and Current has the integer 2. These are the different methods I have tried and their errors:llList2Integer(DonationTotal, Current) += amount; but I got: The left-hand side of an assignment must be a variable, property or indexer DonationTotal[current] += amount; and got:Expected ; or = (cannot specify constructor arguments in declaration); expectedInvalid expression term '+='; expected I also tried a few other similar combinations, which got me the same results of those previous two attempts. If anyone has any advice, I would be greatly appreciated! Thank you,CampSoup1988 Link to comment Share on other sites More sharing options...
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now