Difference between revisions of "ASC()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to convert an ASCII character to a number | Function to convert an ASCII character to a number | ||
Line 12: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[CHR()]], [[ETOS()]], [[HTOA()]], [[STR()]], [[STRZERO()]], [[TYPE()]], [[VAL()]], [[VARTYPE()]] | + | [[ATOH()]], [[CHR()]], [[ETOS()]], [[HTOA()]], [[LEFT()]], [[RANK()]], [[RIGHT()]], [[STR()]], [[STRZERO()]], [[SUBSTR()]], [[TYPE()]], [[VAL()]], [[VARTYPE()]] |
Line 33: | Line 29: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Expressions and Type Conversion]] | ||
+ | [[Category:Expressions and Type Conversion Functions]] |
Latest revision as of 15:57, 26 November 2009
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
Recital Server, Recital