Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

UseMessageBoxes Function

Overview

The UseMessageBoxes function directs the message box functions to display as a window when in console mode.

Syntax/Parameters

Syntax

int = UseMessageBoxes ( [int mode] );

Parameters

mode

An optional int specifying how to display message boxes. TRUE will cause message boxes to display as windows when in console mode, FALSE returns to default mode and -1 will read the current state, The default value is TRUE.

Return Value

Returns an int value as ERROR_NONE, a mode or a formatted error code.

Remarks

This function only operates on Legato Basic. When used on other platforms, ERROR_CONTEXT will be returned.

By default, the console version of Legato Basic directs message box output to standard out (std or the console window) unless a dialog has been opened. UseMessageBoxes function directs the message box functions to use the GUI.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic