[LON-CAPA-cvs] cvs: loncom /homework lonmaxima.pm

raeburn raeburn@source.lon-capa.org
Wed, 10 Dec 2008 23:28:04 -0000


raeburn		Wed Dec 10 23:28:04 2008 EDT

  Modified files:              
    /loncom/homework	lonmaxima.pm 
  Log:
  - The input number in %iN could be more than a single digit (i.e., N > 9).
  
  
Index: loncom/homework/lonmaxima.pm
diff -u loncom/homework/lonmaxima.pm:1.27 loncom/homework/lonmaxima.pm:1.28
--- loncom/homework/lonmaxima.pm:1.27	Thu Sep 25 10:23:56 2008
+++ loncom/homework/lonmaxima.pm	Wed Dec 10 23:28:04 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Interface routines to MAXIMA CAS
 #
-# $Id: lonmaxima.pm,v 1.27 2008/09/25 10:23:56 riegler Exp $
+# $Id: lonmaxima.pm,v 1.28 2008/12/10 23:28:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -61,7 +61,7 @@
 sub blacklisted {
     my ($cmd)=@_;
     foreach my $forbidden (
-        '\? ','\?','%i\d','%o','batch','block'
+        '\? ','\?','%i\d+','%o','batch','block'
        ,'compil','concat','describe','display2d','file','inchar'
        ,'includ','lisp','load','outchar','plot','quit'
        ,'read','reset','save','stin','stout','stringout'