[system] / trunk / pg / lib / Parser / Function / numeric.pm Repository:
ViewVC logotype

Log of /trunk/pg/lib/Parser/Function/numeric.pm

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 3384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 16 19:24:31 2005 UTC (7 years, 10 months ago) by jj
File length: 2003 byte(s)
Diff to previous 3370
Fixed typo related to useBaseTenLog.

Revision 3370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 12 22:29:53 2005 UTC (7 years, 10 months ago) by dpvc
File length: 2004 byte(s)
Diff to previous 2914
A first pass at making parser error messages localizable.  The
Context()->{error}{msg} hash can be used to specify translations of
the standard messages.  For example,

    Context()->{error}{msg}{'Division by zero'} = "Don't divide by zero, dude!";
    Context()->{error}{msg}{'Function '%s' has too many inputs'} =
        "You passed too many arguments to '%s'";

(I didn't translate into another language, here, but you could do
that, too.)

The msg hash could also be used within answer checkers to make certain
answer messages more appropriate for the given type of expected answer.

Revision 2914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 13 02:41:33 2004 UTC (8 years, 7 months ago) by dpvc
File length: 1998 byte(s)
Diff to previous 2558
Added support for useBaseTenLogs to make log() work like ln() or
log10() depending on the value in the course.conf file.

Also fixed a bug that caused the WeBWorK parameters not to be
copied into contexts by initCopy().

Revision 2558 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jul 28 20:32:33 2004 UTC (8 years, 9 months ago) by sh002i
File length: 1786 byte(s)
merged changes from rel-2-1-a1 -- stop using that branch.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9