Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Excerpt

Enables additional javascript files to be included in your script.

Syntax

Code Block
themeEclipse
languagejavascript
linenumberstrue
include(filename);

Parameters

ParameterTypeMandatoryDescription
filenameString(tick)

The name of the file to include.

The file must be in the same folder as the script that is including it.

Return value

Not applicable.

Example

Code Block
themeEclipse
languagejavascript
titleIncluding a file
linenumberstrue
include("foo.js"); // include foo.js