From 503c72837485318cef32679e50eaeeaa809322b2 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Tue, 2 Jun 2015 10:48:31 +0200 Subject: [PATCH] Closedown --- plugins/TestingPanel.java | 5 +++-- script/test11.py | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 script/test11.py diff --git a/plugins/TestingPanel.java b/plugins/TestingPanel.java index 024e5f1..d7dca2a 100644 --- a/plugins/TestingPanel.java +++ b/plugins/TestingPanel.java @@ -232,7 +232,7 @@ public class TestingPanel extends Panel { eval("start = 22.0"); eval("end = 32.0"); eval("step = 10"); - run("args"); + run("test11"); /* @@ -267,7 +267,8 @@ public class TestingPanel extends Panel { args.put("steps", var2); run("args", args); - + txtTestPSRes.setText(args.get("steps").toString()); + //evalAsync("run('args', locals = {'relative':" + (var1 ? "True" :"False") + ", 'steps':" + var2 + "})"); } catch (Exception ex) { diff --git a/script/test11.py b/script/test11.py new file mode 100644 index 0000000..fe78780 --- /dev/null +++ b/script/test11.py @@ -0,0 +1,11 @@ +""" +Parameters +""" + +start = float(args[0]) +end = float(args[1]) +step = int(args[2]) + +a= lscan(inp, sin, start, end, step, 0.1) + +