Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter TwoLanguage Overview (continued)

ConsoleClose Function

Overview

The ConsoleClose function closes the default or specified console application window.

Syntax/Parameters

Syntax

int = ConsoleClose ( [handle hConsole] );

Parameters

hConsole

An optional handle (or console id as handle) to a console window. Omitting hConsole will close the default console.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure. If the specified console handle is invalid or has been closed, the function returns ERROR_SOFT.

Remarks

The ConsoleClose function cannot close the console window for console applications.

Related Functions

Platform Support

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

Legato IDE, Legato Basic