The include statement

The include statement can be used to include a file of pre-written driver commands in the current driver. The include statement is illustrated below.

include "my.dir/my.file"

In the Windows version of FHDL, the contents of the file is executed immediately.

The single operand of this command is a file name, which should be enclosed in quotes. (If the file name is a legal driver-language name the quotes may be omitted.) The all driver commands listed in the file are compiled as part of the current driver. Include commands may be nested arbitrarily.