Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

IsRoman Function

Overview

The IsRoman function tests if a string or character contains a roman numeral.

Syntax/Parameters

Syntax

boolean = IsRoman ( 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 is a roman numeral and FALSE if it is not.

Remarks

If value is a string, the IsRoman function will return FALSE if the string contains any characters other than those representing roman numerals, including white space characters. The validity of the roman number (the order of the numerals within it) is checked up to and including 99. This function is case-insensitive (both “iii” and “III” will return TRUE). However, within a roman number, the case must be constant (“Iii” will return FALSE).

Related Functions

Platform Support

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

Legato IDE, Legato Basic