rexrainbow - Ohh. Okay. That actually makes sense considering the programming syntax. Thanks for the info.
I did not know making an automated algebra calculator can be challenging. If you were in my shoes, would you consider using arrays in what I'm trying to achieve or would you use something better?