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
Mandatory qualified name.
limit

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

Limit

attrib_name comparison_op attrib_value
attrib_name
Mandatory name.
comparison_op
One of the comparison operators: =, <>, <, <=, >, or >=.
attrib_value
Mandatory 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