Lasso Soft Inc. > Home

[Include]

[Include] inserts the specified format file into the current format file. Any LDML code in the included format file is executed as if were placed in the current format file at the location of the [Include] tag.

Accepts a single parameter, the name of the format file to be included.

Container tags cannot be started within one file and closed in the other, but the [Include] tag can be contained within container tags which are opened and closed within the same format file.

  • Syntax
  • Parameters
[Include: 'File Path']
Required Parameters
File Path The path to the file to be included.
Examples

To include a header file in a format file:

Use the [Include] tag. The following code includes a header named Header.lasso before the contents of the page. The results are shown for a file Header.lasso which contains only the level-2 heading File Header.

[Include: 'Header.lasso']
... Format File Body ...
Result:
<h2>File Header</h2>
... Format File Body ...
Tag Link [Include] Category Include
Type Substitution Data Source Any
Support Preferred Version 2.0
Output Type String Security Tag
Implementation Internal Sets Lasso 6.0, Lasso 5.0,LDML3x,LDML25,LDML20,LDML1x

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft