Home   :   Matrix Language   :   Matrix Language Directives   :   Template Directives

Template Directives

 

Directives

 

<<#>>

<<:>>

<<|>>

<<TabIn>>

<<TabOut>>

 

 

Display Directive  <<#>> 

 

Template

<<#Customer.Full_name>> 

 

The Display directive <<#>> is used to display or print attributes, state and process data. Data items of type Boolean display TRUE or FALSE values and enumeration data items display their literal values.

 

 

Newline Directive  <<:>>

 

Template

<<:>>

 

The Newline directive <<:>> is used to display a newline. Unlike implicit newlines at the end of line in a text file, the explicit newline directive should be placed at the start of the line to improve readability. 

 

 

Remark Directive  <<|>>

 

Template

<<|>> <<|>>

 

The Remark directive  <<|>> does not in itself display anything, instead it enables a template to display spaces at the start or end of a line if required which can increase readability. It is also useful to use this directive in a "column" of newlines to align text in a template.

 

It is not valid for a template just to contain Remark directive and no other text or directives.

 

 

TabIn Directive

 

Template

<<TabIn>>

 

The TabIn directive <<TabIn>> does not in itself display anything, instead it has the effect of indenting the following lines after the next <<:>> by four spaces.

 

 

TabOut Directive

 

Template

<<TabOut>>

 

The TabIn directive <<TabOut>> does not in itself display anything, instead it has the effect of outdenting the following lines after the next <<:>> by four spaces.

Copyright 2017 Dark Matter Systems Ltd. All Rights Reserved.