WeBWorK Main Forum

subclass2...

Re: subclass2...

by Davide Cervone -
Number of replies: 0
The problem is that you need to tell WeBWorK that you want to use a variable called Q. To do that, you use
    Context()->variables->add(Q=>'Real');
so that Q is recognized as a variable.

Also, note that your custom checker is not really needed since al it does is exactly what the default checker does. No need to do the quality check yourself unless you are planning to do something more complicated.

Hope that helps out.

Davide