WeBWorK Main Forum

Re: Problem with test_points for formulas

by Davide Cervone -
Number of replies: 0
I think you can do that without anything new:
   Context()->variables->add(n => ['Real', limits=>[1,20], resolution=>1]);

I don't think there needs to be any additional special code for it. But if one really thinks that is necessary, it could be added into the part of the Context code that adds variables. It would not be too hard.

Davide