RANK()

From Recital Documentation Wiki
Revision as of 17:06, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RANK()

Class

Expressions and Type Conversion


Purpose

Function to convert an ASCII character to a number


Syntax

RANK(<expC>)


See Also

CHR()


Description

The RANK() function returns the numeric value of the first ASCII character from the character expression <expC>.


Example

? rank("123")
        49
? rank ("Newcastle")
        78
nVar = rank ("Newcastle")
        78
? type("nVar")
N


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer