[LON-CAPA-cvs] cvs: loncom /homework lonmaxima.pm
riegler
lon-capa-cvs-allow@mail.lon-capa.org
Thu, 25 Sep 2008 10:23:56 -0000
riegler Thu Sep 25 06:23:56 2008 EDT
Modified files:
/loncom/homework lonmaxima.pm
Log:
allows imaginary unit (%i) to be used, but NOW ALSO disallows access to maximas input variables (such als %i1, %i2, ...)
Index: loncom/homework/lonmaxima.pm
diff -u loncom/homework/lonmaxima.pm:1.26 loncom/homework/lonmaxima.pm:1.27
--- loncom/homework/lonmaxima.pm:1.26 Wed Sep 24 14:01:07 2008
+++ loncom/homework/lonmaxima.pm Thu Sep 25 06:23:56 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Interface routines to MAXIMA CAS
#
-# $Id: lonmaxima.pm,v 1.26 2008/09/24 18:01:07 riegler Exp $
+# $Id: lonmaxima.pm,v 1.27 2008/09/25 10:23:56 riegler Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -61,7 +61,7 @@
sub blacklisted {
my ($cmd)=@_;
foreach my $forbidden (
- '\? ','\?','%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'