[system] / trunk / pg / macros / problemPanic.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/problemPanic.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 6015 Revision 6016
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System 2# WeBWorK Online Homework Delivery System
3# Copyright 2009 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright 2009 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: pg/macros/parserMultiAnswer.pl,v 1.10 2008/04/14 23:29:53 sh002i Exp $ 4# $CVSHeader: pg/macros/problemPanic.pl,v 1.1 2009/03/01 15:15:35 dpvc Exp $
5# 5#
6# This program is free software; you can redistribute it and/or modify it under 6# This program is free software; you can redistribute it and/or modify it under
7# the terms of either: (a) the GNU General Public License as published by the 7# the terms of either: (a) the GNU General Public License as published by the
8# Free Software Foundation; either version 2, or (at your option) any later 8# Free Software Foundation; either version 2, or (at your option) any later
9# version, or (b) the "Artistic License" which comes with this package. 9# version, or (b) the "Artistic License" which comes with this package.
97level be reset back to 0. This also sets the score and the number of 97level be reset back to 0. This also sets the score and the number of
98attempts back to 0 as well, so this effectively resets the problem to 98attempts back to 0 as well, so this effectively resets the problem to
99its original state. This is intended for use primarily during problem 99its original state. This is intended for use primarily during problem
100development, but can be used to allow a student to get full credit for 100development, but can be used to allow a student to get full credit for
101a problem even after he or she has asked for a hint. 101a problem even after he or she has asked for a hint.
102
103To allow the grading penalties to work, you must include the command
104
105 Panic::GradeWithPenalty;
106
107in order to install the panic-button grader. You should do this afer
108setting the grader that you want to use for the problem itself, as the
109panic grader will use the one that is installed at the time the
110Panic::GradWithPenalty command is issued.
102 111
103=cut 112=cut
104 113
105sub _problemPanic_init {Panic::Init()} 114sub _problemPanic_init {Panic::Init()}
106 115

Legend:
Removed from v.6015  
changed lines
  Added in v.6016

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9