For the non-developer, these few simple rules may help:
Format property, and get results. If needed, the BFormat script you use may be totally unrelated to the bound object. For example,
you can bind to any object and enter a system-type call, as shown here:%time().toDateString% to produce text like “01-Nov-08”%parent.parent.name% gives the name of the parent two levels up.
For example, a BoundLabel bound to a DiscreteTotalizerExt under a BooleanPoint, where you wish to display the (parent) point’s name and the number of times it has changed state since its last reset, could
be achieved using this Text script:
%parent.displayName% had %changeOfStateCount% COS since last reset.
The result might be: ChWPump2 had 14 COS since last reset..
name or displayName).An example of this “walk down” method (via slot name) is in the history extension (historyName) example, along with the parent technique.