[rkward-cvs] SF.net SVN: rkward: [1408] trunk/rkward/rkward/plugins/plots/scatterplot. php

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Feb 18 13:08:48 UTC 2007


Revision: 1408
          http://svn.sourceforge.net/rkward/?rev=1408&view=rev
Author:   tfry
Date:     2007-02-18 05:08:48 -0800 (Sun, 18 Feb 2007)

Log Message:
-----------
Variable scoping

Modified Paths:
--------------
    trunk/rkward/rkward/plugins/plots/scatterplot.php

Modified: trunk/rkward/rkward/plugins/plots/scatterplot.php
===================================================================
--- trunk/rkward/rkward/plugins/plots/scatterplot.php	2007-02-16 17:33:34 UTC (rev 1407)
+++ trunk/rkward/rkward/plugins/plots/scatterplot.php	2007-02-18 13:08:48 UTC (rev 1408)
@@ -6,6 +6,11 @@
 }
 
 function calculate () {
+	global $Xname;
+	global $Yname;
+	global $main;
+	global $sub;
+
 	$x = str_replace ("\n", ",", trim (getRK_val ("x"))) ;
 	$y = str_replace ("\n", ",", trim (getRK_val ("y"))) ;
 	
@@ -65,7 +70,12 @@
 	cleanup ();
 }
 
-function doPrintout ($final) { ?>
+function doPrintout ($final) {
+	global $Xname;
+	global $Yname;
+	global $main;
+	global $sub;
+?>
 if (!rk.temp$ok) stop ()
 
 <? if ($final) { ?>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list