Macro Reference — Script Directives — #include directive (Script Directives)

# #include directive (Script Directives)

Specifies the file to include. This directive must be specified at the first lines of the script above the main code.

#include " filename"

## Parameters

filename

Specifies the file to include with the relative paths from the current macro file or the complete paths. If the paths are omitted, specify the title of the file in which the current macro file exists.

## Examples

Include the file library.jsee

#include "library.jsee"

## Version

Supported on EmEditor Professional Version 7.00 or later.