This version is out of date, covering development from v8.0.0 to v8.x.x. 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 v8 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]

 8.8.0

 


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");