summaryrefslogtreecommitdiff
path: root/testdata/scad/misc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-11-09 17:40:52 (GMT)
committerMarius Kintel <marius@kintel.net>2011-11-09 17:40:52 (GMT)
commitcabff81c70f7d9083c47f5be8b5bc071168e6b35 (patch)
treeb053902ada395ec5cbef8638c897b526ca742857 /testdata/scad/misc
parented6dd37dd5e21a665298a4afb68506ce9ac4a138 (diff)
parente65ea2d6515f205526c9cba77ad0831e3b4077d1 (diff)
Merge branch 'master' into cache
Diffstat (limited to 'testdata/scad/misc')
-rw-r--r--testdata/scad/misc/echo-tests.scad14
1 files changed, 14 insertions, 0 deletions
diff --git a/testdata/scad/misc/echo-tests.scad b/testdata/scad/misc/echo-tests.scad
new file mode 100644
index 0000000..c42a67e
--- /dev/null
+++ b/testdata/scad/misc/echo-tests.scad
@@ -0,0 +1,14 @@
+echo(undef);
+echo("string");
+s = "stringvar";
+echo(s);
+echo(a = 1, b = 2.0, true, c = false);
+v = [1, "vecstr", 2.34, false];
+echo(v);
+r = [1:2:10];
+echo(r);
+
+echo(vec = [1,2,3]);
+echo(range = [0:2]);
+
+echo(str("string generated by str()"));
contact: Jan Huwald // Impressum