Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

IsCancel Function

Overview

The IsCancel function tests if an integer matches a cancel error code.

Syntax/Parameters

Syntax

boolean = IsCancel ( int code );

Parameters

code

An int to test as a formatted error code or a cancel ID.

Return Value

Returns TRUE if code matches a cancel error code or FALSE if it does not.

Remarks

The IsCancel function tests if an integer matches ERROR_CANCEL or the Windows define IDCANCEL (2). Other cancel codes, such as those from different DLLs, are not supported.

Related Functions

Platform Support

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

Legato IDE, Legato Basic