I would like to set a variable to a number of values as in the case of a slice.
LEVEL = [1, 2, 3]
Later calculations that reference LEVEL would provide a slice showing all the results
DIFFICULTY = LEVEL + 1 | [2, 3, 4]
Another related feature, being able to feed individual values from the Slice to a series of functions.
LEVEL = [1,2,3]
LEVEL.each |l|
TEST = l * 1.2
end
The subtotal display would need a clever way to show the individual values for each line in the "loop" and then repeat. maybe use the same color for each repeat line?