This version is out of date, covering development from v9.0.0 to v9.3.0. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

version()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Property   [other Property type actions]

 Document   [operators of similar scope]

 Data manipulation   [other Data manipulation operators]

 Baseline

 


The action operator version() returns information about the version of Tinderbox. With no argument, is return a complete version string such as "8.7.2b472".

version("part") An optional single parameter 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 parameters may be used with or without enclosing quotes. Thus, usage:

$MyString = version(major); 

or

$MyString = version("fix");