Changing type of a variable tries to change the type of a completely...
System dynamics program with additional features for economics
Brought to you by:
hpcoder,
profstevekeen
I discovered that the variable's name was being accessed before the variable was gotten. That not only explains this bug, but fixing this makes this bug go away.