Difference between revisions of "ASC()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
m (Text replace - "Recital" to "Lianja")
Line 29: Line 29:
  
 
==Products==
 
==Products==
Recital Server, Recital
+
Lianja Server, Lianja
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Expressions and Type Conversion]]
 
[[Category:Expressions and Type Conversion]]
 
[[Category:Expressions and Type Conversion Functions]]
 
[[Category:Expressions and Type Conversion Functions]]

Revision as of 12:26, 7 December 2012

Purpose

Function to convert an ASCII character to a number


Syntax

ASC(<expC>)


See Also

ATOH(), CHR(), ETOS(), HTOA(), LEFT(), RANK(), RIGHT(), STR(), STRZERO(), SUBSTR(), TYPE(), VAL(), VARTYPE()


Description

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


Example

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


Products

Lianja Server, Lianja