ajsenko 0 Posted May 23 I have a set of global variables called "ProcedureDummy0" , "ProcedureDummy1" ... that I set ={0,0,0,0,0,0,0,0} at startup. I will change the value of these variables in a table (I have figured out a semi-janky way to do that with input boxes and a table), but I also want to be able to display the values in a table. Not including headers, I want the cell in the "m"th row and the "n"th column to be "ProcedureDummyn[m]" I set the expression for the column to {ProcedureDummy[1],ProcedureDummy1[1],ProcedureDummy2[1],ProcedureDummy3[1],ProcedureDummy4[1],ProcedureDummy5[1]} (each of those are still 0 from my startup sequence, and each of those will display as 0.000 with the variable value element). But the table displays 1.00 for each cell in the table. It does the same with 2.00 and the 2nd element, and so on. Why? Can I fix this? Share this post Link to post Share on other sites
AzeoTech 0 Posted May 23 You can't put anything but actual numbers or strings inside {} when defining an array. So: {1,2,3}, or {"a","b","c"} are valid, but {myVar1, myVar2, myVar3} is not. I, personally, would consider creating a two dimensional array called simply procedure that has, it looks like, 8 columns and 6 rows? global procedure = {{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0}} Share this post Link to post Share on other sites
ajsenko 0 Posted May 23 Bummer. Thanks for the info though; I ended up just making 8 variables col0 through col7 that I set to what I want element by element whenever I change procedure dummy Share this post Link to post Share on other sites