Functions

includeFile

Supported By

Syntax

[the] includeFile of factor

includeFile ( expression )

Factor and expression yield strings.

Description

The includeFile function returns a file that represents the include with the specified name. If no such include can be found, the includeFile function returns empty. In OpenXION, the locations searched for includes are determined by the includePaths property.

Note

The includeFile function is specific to OpenXION; it is not part of the XION Scripting Language Standard.

Security

To use this function, OpenXION's security settings must allow the FILE_SYSTEM_READ security key. If the required security key is denied, a script error will be triggered.

See Also

include, require, includePaths, includePath