Require Statement

Gives a module access to a library module, and lets you use its exported names directly.

Syntax

Usual construct

Require library_name [ , library_name ]…

Limits construct

Require library_name Where limit [ { And | Or } limit ]…

Parts

library_name
Necessary qualified name.
limit

Necessary in the limits construct, a comparison expression. You can use one or more limits to find the correct library if different ones have the same name.

Syntax

attrib_name comparison_op attrib_value
attrib_name
Necessary name.
comparison_op
One of these: =, <>, <, <=, >, or >=.
attrib_value
Necessary string literal or version literal.

Instructions

TODO

Version literal

number . number . number
number
One of three groups of decimal integers.

Examples

Require ViviFire.IO
Require MyProject.TestHarness Where version = 2.1.0

See also