Macros in Agents (pre v4.6 only)

Tinderbox Icon

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

Macro: IsUrgent

$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)   

[Last updated: 5 Oct 2009, using v4.7.1]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox