|A Tinderbox Reference File : Agent Queries : Legacy query code : Macros in Agents (pre v4.6 only)||aTbRef Site Map|
Macros in Agents (pre v4.6 only)
As from v4.6, macros in queries are no longer supported. What follows is legacy information.
Macros can be useful in agent queries.
A macro that evaluates to a Boolean value may be evaluated in a query. For example, consider the macro
$Prototype=="Task" & $DueDate>"today-1 week" & $Done==false
An agent may search for the query
the macro will be expanded and evaluated, Previously, the macro was expanded but not evaluated.
Macros can also be used in actions.
From v4.6, as agents are now action code expressions, there is no longer a need to use the export code style ^do()^ mark-up.
|Up: Legacy query code|
|Previous: Export Code in queries (deprecated)|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]