summaryrefslogtreecommitdiff
path: root/testdata/scad/misc/echo-tests.scad
blob: 6753c6102e425da9bd5f46972004f656942af146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()"));

// https://github.com/openscad/openscad/issues/158 rept by nop head
// 0.8 should print 0.8 not 0.80000...004 (regardless of internal representation)
echo(0.8);
contact: Jan Huwald // Impressum