4.3.3 The Build structure

compileAndLoad

Function

Structure

Shell.Build

Type

val compileAndLoad: string -> unit

Syntax

compileAndLoad unit-name -> ()

Arguments

unit-name
A string naming a program unit. Must be given in the portable unit-location notation (see Section 4.3.2.1 on page 69).

Value

unit

Description

This function does the same thing as Shell.Build.compile, then loads unit-name into the MLWorks interactive context.

If unit-name depends on any other units, the object files for those units are loaded too. However, only the top-level declarations in unit-name are added to the interactive context.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker