This version is out of date, covering development as far as v4.2.5. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
A Tinderbox Reference File : Agent Queries : Template Code Arguments |
Template Code Arguments |
From v3.5.0, template expressions can now appear in the right hand side of agent queries. For example
Color=^get(Color)^
finds all notes whose Color value matches the Color value of the agent itself. Note that in this case the context of the template is the agent, not the note being tested -- that is, this refers to the agent.
This new method allows an agent's own attributes to control the 'match' value. Changing that value, e.g. through a rule or another agent, will alter the current agent's notes matched.
Up: Agent Queries | |
Previous: Attribute Name | Next: Special Query Arguments |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]