playMaker

Author Topic: [Solved] Get numerical sum of INTs in Array  (Read 474 times)

Aaddiction

  • Full Member
  • ***
  • Posts: 166
[Solved] Get numerical sum of INTs in Array
« on: May 17, 2022, 10:22:55 AM »
Hello, I have an array list with 100 ints. I'd like to calculate the sum of each int. How to do that?

I tried with the action Array List Get next, but nothing happens.
« Last Edit: May 17, 2022, 03:09:27 PM by Aaddiction »

Twood

  • Junior Playmaker
  • **
  • Posts: 76
Re: Get numerical sum of INTs in Array
« Reply #1 on: May 17, 2022, 10:57:14 AM »
Should work, unless your reference or variable is assigned incorrect somewhere.

Here's one way to do it:


Aaddiction

  • Full Member
  • ***
  • Posts: 166
Re: [Solved] Get numerical sum of INTs in Array
« Reply #2 on: May 17, 2022, 03:09:39 PM »
Thank you a lot! :)