api:include
Version 23.0.8844
api:include
Version 23.0.8844
The api:include keyword is used to include APIScript from other files. Like traditional includes in other programming languages, api:include is replaced by the contents of the file specified in the file parameter.
Parameters
- file | document: The name of the file to be included.
- language: The language the file was written in.
Control Attributes
None
Examples
Import certain attributes (companyname, copyright) in each script without duplication:
<api:include file="globals.rsb"/>
[companyname]
[copyright]
<api:call ...>