Is there a workaround so I don't have to get the value from the reverseColorTable dictionary twice?
I wanted to set up a local variable to capture the expression's result.
I tried creating another local, but since it references the "color" variable, it was giving me an error. I've also tried a local nested within the "color" local and I get a similar issue.
I've also thought of making a procedure, but while that simplifies the code and makes it more readable, it doesn't solve the problem of repulling that key more than once.
{I'm trying to do this without a global}