[ww-bugs] Bug 3449: Possible issue with PGML

bugzilla-daemon at webwork.maa.org bugzilla-daemon at webwork.maa.org
Thu Sep 17 05:02:13 EDT 2015


http://bugs.webwork.maa.org/show_bug.cgi?id=3449





--- Comment #1 from Davide P. Cervone <dpvc at union.edu>  2015-09-17 05:02:13 ---
It is not an issue with PGML, as the following problem also produces the same
error:

    DOCUMENT();

    loadMacros(
      "PGstandard.pl",       #Always needed
      "MathObjects.pl",      #Almost always needed
      "contextCurrency.pl",
    );

    Context("Currency");
    $C = Currency(1);

    BEGIN_TEXT

       Enter ${DOLLAR}1 here: \{$C->ans_rule(5)\}.
       $PAR
       Enter 1 here: \{ans_rule(5)\}

    END_TEXT
    ANS($C->cmp);

    Context("Numeric");
    ANS(Compute(1)->cmp());

    ENDDOCUMENT();

I suspect it is an issue with the Currency context itself, but will have to
check into it.

-- 
Configure bugmail: http://bugs.webwork.maa.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the webwork-bugs mailing list