2011-10-08 16:53:47 +04:00
|
|
|
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]);
|
2011-11-09 21:38:52 +04:00
|
|
|
|
|
|
|
echo(str("string generated by str()"));
|
2012-07-27 05:49:58 +04:00
|
|
|
|
|
|
|
// 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);
|