Forlan Manual


The System Module


Synopsis

signature SYSTEM
structure System :> SYSTEM

This module consists of functions for interacting with the operating system. Most users of Forlan won't need to use it.


Interface

val makeTempFile : unit -> string
val runJForlan : string -> OS.Process.status

Description

makeTempFile()
creates a new, empty temporary file, returning its name; issues an error message if it's impossible to create the file.

runJForlan s
runs JForlan with the (whitespace separated) contents of s as its arguments, returning the status that JForlan exits with; issues an error message if JForlan can't be executed.


[ Top | Parent | Root | Contents | Index ]

Forlan Version 4.12
Copyright © 2019 Alley Stoughton