summaryrefslogtreecommitdiff
path: root/testdata/scad/minimal
diff options
context:
space:
mode:
authorGiles Bathgate <gilesbathgate@gmail.com>2011-11-12 19:42:27 (GMT)
committerGiles Bathgate <gilesbathgate@gmail.com>2011-11-12 19:42:27 (GMT)
commitacf4c1262b955c298e3cf792c8b3f3cead92fd09 (patch)
tree6f7fc89db4bfce512b59e5298d5db35822dc6bb0 /testdata/scad/minimal
parentd81160bfa6d8a7822dde7278d7a5be423fef6de6 (diff)
Added a len() function
This returns the number of elements in a vector, and the length of a string. Added a basic test script that can be checked for echo output.
Diffstat (limited to 'testdata/scad/minimal')
-rw-r--r--testdata/scad/minimal/allfunctions.scad1
1 files changed, 1 insertions, 0 deletions
diff --git a/testdata/scad/minimal/allfunctions.scad b/testdata/scad/minimal/allfunctions.scad
index ef21a90..2aebe54 100644
--- a/testdata/scad/minimal/allfunctions.scad
+++ b/testdata/scad/minimal/allfunctions.scad
@@ -24,3 +24,4 @@ a = dxf_dim();
a = dxf_cross();
a = version();
a = version_num();
+a = len();
contact: Jan Huwald // Impressum