Previous Topic

Next Topic

Imports statement

Imports another script source file into the current script file.

Syntax

Imports "filename.pfs"

Comments

The file imported is searched for in the default Company Script directory unless the file name includes a full path specification.

To open the file in a new Script Editor window, place the cursor in the File Name and click Ctrl+Enter, or right click to open the Context Menu, then select Open Source.

Imported scripts are treated as if the code they are imported into contains the imported code and execute at the point they are imported.

See Also

MaxBasic Statements

Book Contents

Book Index