Require Statement

Describe

Syntax

List form

Require library_name [#handle] [ , library_name [#handle] ]...

Restricting form

Require library_name [#handle] Where restriction [ { And | Or } restriction ]...

Parts

library_name
Necessary
#handle
Optional
restriction
Necessary in the restricting form. A means to disambiguate libraries with the same name.
Syntax
attrib_name comparison_op attrib_value
attrib_name
A plain identifier (no type characters) or a string identifier (ending in a dollar sign ($)). In neither case does the identifier have an inherent data type.
comparison_op
One of the following: = (equal to), <> (not equal to), < (less than), <= (less than or equal to), > (greater than), or >= (greater than or equal to).
attrib_value
A string literal or version literal.

Instructions

Examples

Listing 1
Require IO #out
Require MyTestHarness Where version = 2.1.0

See also