This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Actions & Rules : Stamps | aTbRef Site Map |
Stamps |
Stamps are complete actions, in action code designed for easy re-use. They enable the user to
Stamps are defined/edited via the Stamps pane of the Attributes dialog. Stamps can be called by:
In the case of the latter simply cite the Stamp name:
$MyString = s_Stamp;
or even
s_Stamp;
if the stamps action is a stand-alone action (e.f. a command line call. A stamp reference can also be mixed with other action code. So, in naming your stamps think about making the names clear so they don't clash with things like operator or attribute names. Stamp names are case sensitive. As they aren't usually seen in major views, there's no need to 'pretty' names, making it easier to use something like a common prefix to stamp names (such as 's_') so that they stand out clearly in code.
Up: Actions & Rules | |
Previous: Stand-alone expressions | Next: Setting an attribute to (no value) |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]