Require Statement

Describe

Syntax

List form
Require libraryName [#handle] [ , libraryName [#handle] ]...
Restricting form
Require libraryName [#handle] Where restriction [ { And | Or } restriction ]...

Parts

libraryName
Required
#handle
Optional
restriction
Required in the restricting form. A means to disambiguate libraries with the same name.
Syntax
attribName comparisonOp attribValue
attribName
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.
comparisonOp
One of the following: = (equal to), <> (not equal to), < (less than), <= (less than or equal to), > (greater than), or >= (greater than or equal to).
attribValue
A string literal or version literal.

Remarks

Examples

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

See also