Forlan Manual

The Use Module


signature USE
structure Use :> USE

This module defines a function for loading SML source files into Forlan.


val use : string -> unit


use ""
loads the contents of the most recently loaded file into Forlan; an error message is issued if no file was previously loaded.

use fil
(where fil is nonempty) loads the contents of fil into Forlan; it first looks for fil in the current working directory; if it doesn't find it there, it works through the search path (see Params.getSearchPath), looking for the first occurrence of fil; it issues an error message if fil can't be found, or can't be loaded.

[ Top | Parent | Root | Contents | Index ]

Forlan Version 4.12
Copyright © 2019 Alley Stoughton