I'm coding a dynamic graphing routine and tried to define colors in an array, but when the graph was drawn, they were all black.
Is there a way to evaluate a string as a variable name?
Here's what I mean, say I have multiple colors to dynamicaly assign, from 0 to 3.
Is it possible to add the index of the color, 0 to 3 to a string and evaluate it to assign or recall a variable?
So, "$color" + 0
turns into "$color0"
turns into $color0
Thank you kn advance for any help you can provide.
Randy