Previous Topic Next topic Print topic


HIGH Function

Purpose

Returns a character string made up of the highest character in the collating sequence.

Syntax

HIGH(x)

Parameters

x is an expression whose value is a non-negative integer.

Description

The HIGH function returns a character string of length x, in which each character is the highest character in the collating sequence (ASCII = hex 7F).

The HIGH function uses a 256-byte collating string.

The value of x must be non-negative. If x = 0, the result is the null character string.

Examples

HIGH(3)    /* Returns a character string whose length
                  is equal to 3 characters and in which
                  each character is hexadecimal 7F. */

Restrictions

None.

Previous Topic Next topic Print topic