Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

IsDrawing Function

Overview

The IsDrawing function tests if a string only contains characters typically used for drawing lines, rules, or other text-based figures.

Syntax/Parameters

Syntax

boolean = IsDrawing ( mixed value );

Parameters

value

A string or

a char to test. The character can be any type that will resolve to an integer.

Return Value

Returns TRUE if value contains only drawing characters (see Remarks) or FALSE if it does not.

Remarks

If the value parameter is a string, the string must be entirely composed of drawing characters. However, the drawing characters do not need to be the same character. The IsDrawing function will return TRUE for the following characters: 

- Dash
= Equal sign
_ Underscore
| Vertical bar
* Asterisk
En-Dash
Em-Dash

 

Unicode characters are not supported.

Platform Support

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

Legato IDE, Legato Basic