Operator Type:
Operator Scope of Action:
Operator Purpose:
Data Type Returned:
Operator First Added:
Operator in Current Baseline:
Operator Last Altered:
Property [other Property type actions]
Document [operators of similar scope]
Data manipulation [other Data manipulation operators]
String [about String data type]
v8.8.0
Baseline
As at baseline
Syntax note: Operators without any defined mandatory arguments may omit their empty closing parentheses
version()
version
The action operator version() returns information about the version of Tinderbox. With no argument, it returns a complete version string such as "8.7.2b472".
version("part") An optional single argument can be supplied. Possible values are: major, minor, fix, and build, each returning a specific part of the overall version.
For example, in Tinderbox 8.7.2b472:
version()returns:
8.7.2b472
version(major)returns:
8
version(minor) returns:
7
version(fix)returns:
2
version(build)returns:
b472
These arguments may be used with or without enclosing quotes. Thus, usage:
$MyString = version(major);
or
$MyString = version("fix");