Count totals in a column in an array?
Develop games in your browser. Powerful, performant & highly capable.
var temp_Sum = 0 For X = 0 to array.length-1 Add Array.at(X,Y) to temp_Sum [/code:1m5yquzh] Where Y is the index of the column. temp_Sum should then be the total of this column.
can I use text commands in construct 2 now?
if not, can you make a screen shot?
You don't have "text commands" in C2, but you have all the needed tools.
Here it is.
i really don't see how the text representation is at all similar to the visual representation, but thanks