A5W_INCLUDE()

Syntax

A5W_INCLUDE( Filename as C )

Argument

Description

Filename

The full path and filename or a relative path and filename of a file.

Description

The A5W_INCLUDE() function includes a file within an A5W page. The specified file will be included within the page before the it is evaluated. This is useful to include headers, footers and functions that will be used on multiple pages. This function only works with the Application Server.

The function works recursively, meaning that if the included file has any A5W_INCLUDE() itself, they will also be processed. If the file to be included cannot be found, A5W_INCLUDE() will generate an error.

The A5W_INCLUDE() command is evaluated at runtime.

Supported By

Alpha Five Version 6 and Above

Limitations

Web publishing applications only.

Example

<%a5

a5w_include("logintest.a5w")

%>

See Also

Internet Functions and Methods