Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FiveGeneral Functions (continued)

ConvertNoCodes Function

Overview

The ConvertNoCodes function converts control characters to periods (‘.’) as a fill character within a string.

Syntax/Parameters

Syntax

string = ConvertNoCodes ( string data );

Parameters

data

A string to convert.

Return Value

Returns a string with any control characters converted to periods or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The ConvertNoCodes function is useful when preparing a string for display that may contain characters that are hostile to the output environment. All ANSI control characters below a space (0x20/32) will be converted. The return string has a maximum size of 2MB. If the buffer is exceeded, the GetLastError function will return ERROR_OVERFLOW.

Related Functions

Platform Support

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

Legato IDE, Legato Basic