summaryrefslogtreecommitdiff
path: root/RELEASE_NOTES
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-10-03 22:09:04 (GMT)
committerMarius Kintel <marius@kintel.net>2011-10-03 22:09:04 (GMT)
commit2f239205a8f46cf00dfd461a72909867fa4aca80 (patch)
tree930bf143a8e341df817e321a7f891300a053b5aa /RELEASE_NOTES
parent4432eb78aa5fc46a746893f8bdfe4f62f83e61a4 (diff)
Redefined version() to return the version as a vector. Added version_num() to return a comparable number
Diffstat (limited to 'RELEASE_NOTES')
-rw-r--r--RELEASE_NOTES3
1 files changed, 2 insertions, 1 deletions
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index f8a10f0..9097721 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -10,7 +10,8 @@ o The color() statement now supports an alpha parameter, e.g. color(c=[1,0,0], a
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 Strings can now be lexographically compared using the <, <=, >, >= operators
-o The version() function will return the OpenSCAD version as a string, e.g. "2011.10"
+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
Bugfixes:
o square() crashed if any of the dimensions were zero
contact: Jan Huwald // Impressum