I'm sorry, I didn't make it clear in the original post. You need to run the SETMODE program first in order to assign Str0; then run QUADEQ.

One probably ought to build in a check for this condition in QUADEQ. Perhaps an exercise for you?