Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

IsHex Function

Overview

The IsHex function tests if a string or character is a valid hexadecimal string or character.

Syntax/Parameters

Syntax

boolean = IsHex ( 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 valid hexadecimal string or character or FALSE if it is not.

Remarks

If value is a string, “0x” is not permitted at the front of the string. If value is a character, the IsHex function checks for numeric digits 0-9 and alphabetic characters A-F and a-f.

Related Functions

Platform Support

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

Legato IDE, Legato Basic