Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

IsANSICharacters Function

Overview

The IsANSICharacters function tests if a string is compliant for ANSI characters excluding white space and control characters.

Syntax/Parameters

Syntax

boolean = IsANSICharacters ( string value );

Parameters

value

A string to test.

Return Value

Returns TRUE if value contains only ANSI characters or FALSE if it does not.

Remarks

This function differs from the IsANSI function in that white space and other characters are not allowed. The function will return FALSE if these characters are contained within the string.

ANSI characters are effectively 8-bit ASCII and extended 128-255 characters. This function does not check for undefined character positions above 32 (0x20 or space).

An empty string is technically ANSI compliant. In this case, the IsANSICharacters function will still return TRUE.

This function is useful when dealing with UNICODE strings that may contain non-ANSI information.

Related Functions

Platform Support

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

Legato IDE, Legato Basic