4.3.5 The Path structure

sourcePath

Function

Structure

Shell.Path

Type

val sourcePath: unit -> string list

Syntax

sourcePath () -> path

Arguments

unit

Values

path
A list of the directories that make up the source path.

Description

Returns a list of the directories that make up the source path. By default, the list is ["."].

This function raises the exception PathError if any element of any of the paths does not exist on the filesystem.

The paths are given as standard filesystem pathnames rather than in the portable notation.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker