This version is out of date, covering development from v9.5.0 to v9.7.3. 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

Attributes - $ prefix notation

$Attribute notation

Although legacy syntax may still be supported, all calls to attributes—i.e. to their values—in Action code should use a '$' prefix to the attribute name.

$AttributeName=value 

$AttributeName=$AttributeName 

$AttributeName=$AttributeName(where) 

$AttributeName(where)=$AttributeName(where) 

Long term users must note that either/both the left or right-hand expressions must begin with a '$'.

Legacy issues

Since v4.6.0, Tinderbox has attempted to support legacy code usage alongside the new forms, but do not expect such support to continue. It is thus worth coming to an understanding of the different implications of $Attribute(path) and AttributeName(regex). Indeed, AttributeName(regex) is deprecated: use the current String/List/Set.contains("regexStr").

Examples of $Attribute(path) usage:

$Name(parent)="archives" 

if($ChildCount(parent)>6)