4.2 Top-level items: exit, saveImage and startGUI

startGUI

Function

Structure

Shell

Type

val startGUI: unit -> unit

Syntax

startGUI () -> ()

Arguments

unit

Values

unit

Description

If MLWorks was started in TTY mode (that is, mlworks or mlworks-basis was started with argument -tty), this function allows you to start the GUI environment.

If you start the GUI interface with this function, then on exiting the GUI using File > Exit, the usual exit dialog also offers an End X session button which returns you to TTY mode.

If startGUI is called with the GUI already running, it prints

The MLWorks GUI is already running


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker