Next Previous Up Top Contents Index

4.3.3 The Path structure

sourcePath

Function

Structure

Shell.Path

Type

val sourcePath: unit -> string list

Syntax

sourcePath () -> path

Arguments

None

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 2.0 - 29 Jul 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker