summaryrefslogtreecommitdiff
path: root/RELEASE_NOTES
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-10-24 11:46:46 (GMT)
committerMarius Kintel <marius@kintel.net>2011-10-24 11:46:46 (GMT)
commitff6d6cda13040e69ef15bb8989ca0f436a8020cc (patch)
treef34bdca7c67f55c8a58b65d983b030748471cc77 /RELEASE_NOTES
parent7d9104e748aaf9f54a490a8ca143d2864ddb61d3 (diff)
Evaluate expressions for the ternary operator the same way as for if-else, i.e. cast any value to bool
Diffstat (limited to 'RELEASE_NOTES')
-rw-r--r--RELEASE_NOTES2
1 files changed, 1 insertions, 1 deletions
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index aaeddb1..3af3c1a 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -8,7 +8,7 @@ o New import() statement reads the correct file format based on the filename ext
(.stl, .dxf and .off is supported)
o The color() statement now supports an alpha parameter, e.g. color(c=[1,0,0], alpha=0.4)
o The color() statement now supports specifying colors as strings, e.g. color("Red")
-o if() and else() can now take any value type as parameter. false, 0, empty string and empty vector or illegal value type will evaluate as false, everything else as true.
+o if()/else() and the ternary operator can now take any value type as parameter. false, 0, empty string and empty vector or illegal value type will evaluate as false, everything else as true.
o Strings can now be lexographically compared using the <, <=, >, >= operators
o The version() function will return the OpenSCAD version as a vector, e.g. [2011, 09]
o The version_num() function will return the OpenSCAD version as a number, e.g. 20110923
contact: Jan Huwald // Impressum