| THE META-HTML LANGUAGE REFERENCE MANUAL

| [TOC] |

## Manual Page Viewer

Name: REQUIRE

Section: File Operators

Synopsis:

`<require STEM>`

Description:

`require` tries hard to locate the source or library file specified by STEM, and then loads that file if it hasn't already been loaded.

If the variable `mhtml::require-directories` is present, then it is an array of directory names (without trailing slashes) relative to Web space that should be searched through, in the order that they appear in the array.

`require` understands the following extensions:

- .mhtml, or .src: A Meta-HTML source file.

- .lib: A Meta-HTML library file.

`require` loads the newest version of the file that it finds, and records the complete pathname of the loaded file in the array variable `mhtml::require-loaded`.

Edit Pointer
Function Index
Variable Index
Variable Editor

The META-HTML Reference Manual V1.4 Copyright © 1995, 1996, Brian J. Fox, 1996, 1997 Universal Access Inc.
Found a bug? Send mail to bug-manual@metahtml.com