^do( theMacro [,argument, anotherArgument, etc.] )^

Tinderbox Icon


Code Type:   Data Include
Code Scope of Action:   item

^do(theMacro)^

Allows you to use macros in HTML (and XML) export, where theMacro is a macro you've defined in Tinderbox.

^do(theMacro [,argument, anotherArgument])^

Allows you to use macros in HTML (and XML) export, where theMacro is a macro you've defined in Tinderbox; and argument and anotherArgument are additional arguments that can be passed to the macro.

There are no limits - within sensible reason, to the number of arguments hat may be supplied.

Read about macros for usage details.

Internally, the do() operator may be used.

Unlike do(), and specifically in the context of export, ^do^ will evaluate inline export code within the macro's code.

From v5.9.0, ^do^ accepts the theMacro argument as a quoted string (to meet current action code usage for string data).


Possible relevant notes (via "Similar Notes" feature):

Up: Item-based

A Tinderbox Reference File : Export Codes : Export Code Scope : Item-based : ^do( theMacro [,argument, anotherArgument, etc.] )^

Quicklinks: Attributes | Action Codes | Export Codes | Designators | Date Formats | aTbRef Site Map

[Last updated: 16 May 2012, using v5.11.1]


Search:

Google search aTbRef for:  


Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox