Difference between revisions of "RANK()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
=RANK()=
 
 
 
 
==Class==
 
==Class==
 
Expressions and Type Conversion
 
Expressions and Type Conversion
Line 15: Line 12:
  
 
==See Also==
 
==See Also==
[[CHR()]]
+
[[ASC()]], [[ASCII Chart]], [[ATOH()]], [[CHR()]], [[HTOA()]], [[LEFT()]], [[RIGHT()]], [[STR()]], [[SUBSTR()]], [[VAL()]]
  
  
Line 39: Line 36:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Expressions and Type Conversion]]
 +
[[Category:Expressions and Type Conversion Functions]]

Revision as of 12:21, 9 June 2009

Class

Expressions and Type Conversion


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 Database Server, Recital Mirage Server, Recital Terminal Developer