Tinderbox 7 Icon

Attribute Naming

Attribute names - whatever their type - are:

Although you may use any letter case combination it is worth noting that the general style in Tinderbox - and examples in the manual etc., tend to one of two styles opening capital ('Prototype') or inter-capitalised ('AgentPriority'). For newer users, adopting the latter form for user attributes will help to distinguish attributes when seen in action and export code.

Perhaps self-evident, but adopting self explanatory names is useful both in writing codes but also when displaying key attributes.

Attributes can be renamed.

NOTE re Attribute names & the $-prefix. In action code, when an attribute's value is referred to a $-prefix is used. Thus to call the value if the attribute WordCount, $WordCount is used. To refer to the name of said attribute, use "WordCount". Within aTbRef, inline references in general text which refer to Tinderbox attributes names generally use a $-prefix as a marker that it is an attribute name being cited. The latter is a slight variance with in-app usage but does aid clarity in the articles.

A Tinderbox Reference File : Attributes : Attribute Naming