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

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

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

Revision 5990 Revision 5991
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System 2# WeBWorK Online Homework Delivery System
3# Copyright 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: pg/macros/contextLimitedPolynomial.pl,v 1.20 2007/11/06 15:49:03 dpvc Exp $ 4# $CVSHeader: pg/macros/contextLimitedPolynomial.pl,v 1.21 2007/11/06 16:19:49 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.
232 $self->Error("Multiplication can only be used between coefficients and variables"); 232 $self->Error("Multiplication can only be used between coefficients and variables");
233} 233}
234 234
235sub checkStrict { 235sub checkStrict {
236 my $self = shift; 236 my $self = shift;
237 $self->Error("You can only use '%s' between a coefficent and a variable in a polynomial",$self->{bop}); 237 $self->Error("You can only use '%s' between coefficents and variables in a polynomial",$self->{bop});
238} 238}
239 239
240############################################## 240##############################################
241 241
242package LimitedPolynomial::BOP::divide; 242package LimitedPolynomial::BOP::divide;

Legend:
Removed from v.5990  
changed lines
  Added in v.5991

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9