Navigation:  Standard templates > Registrator >

Work with macros

Previous pageReturn to chapter overviewNext page

 

  Macros are simply lines of text of a special format. During execution of a template when the process arrives at a branch with a macro, this macro is replaced by the corresponding text. If, for instance, it was a random value generating macro, then it will be this random value that will be inserted.

   Macro consists of its name and parameters - all this embedded in special brackets. Macros support nesting of any complexity, i.e. instead of parameters of one macro you can insert other macros or you can insert macros in the text or place them one next to the other, etc..

 Usually you do not have to write macros manually, for this you can use Macros Builder that also allows you to test macros right after they have been created.

 

 

 

 


Important!

Almost all fields and settings in a template support macros, in other words you can insert them anywhere.