Script Command: #include


(Contents)(Previous)(Next)

Format:

#include "filename"

The include command allows you to include the contents of another script file as part of the current script file. This lets you keep a common set of script commands in a single file that you can use in other script files. You can nest include commands in up to 16 files. That means you can include a script file which in turn includes another script file, and so on, up to 16 levels.

· The include command is special in that it does not have a semi-colon (;) at its right-hand end.

Example:

#include "\scripts\common\login.inc"


(Contents)(Previous)(Next)