RANK()

From Lianjapedia
Revision as of 11:07, 7 December 2009 by Helengeorge (Talk)

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

Purpose

Function to convert an ASCII character to a number


Syntax

RANK(<expC>)


See Also

ASC(), ASCII Chart, ATOH(), CHR(), HTOA(), LEFT(), RIGHT(), STR(), SUBSTR(), VAL()


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, Recital Server