This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

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


Code Type: 

Code Scope of Action: 

Code First Added: 

Code Altered: 

 Data Include   [other codes of this type]

 item   [codes with similar scope]

 Already in v5.0.0

 format"


^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 that 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):


A Tinderbox Reference File : Export Codes : Export Codes - Full Listing : ^do( theMacro [,argument, anotherArgument, etc.] )^