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

Attributes - $ prefix notation

$Attribute notation

Although legacy syntax may still be supported, all references 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 '$'.

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(pattern). Indeed, AttributeName(pattern) is now deprecated for String/List/Set.contains("pattern").

Examples of $Attribute(path) usage:

$Name(parent)="archives" 

if($ChildCount(parent)>6) 



A Tinderbox Reference File : Attributes : Attributes - $ prefix notation