Difference between revisions of "ASC()"
From Lianjapedia
m (Text replace - "Recital" to "Lianja") |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to convert an ASCII character to a number | Function to convert an ASCII character to a number | ||
− | |||
==Syntax== | ==Syntax== | ||
ASC(<expC>) | ASC(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
[[ATOH()]], [[CHR()]], [[ETOS()]], [[HTOA()]], [[LEFT()]], [[RANK()]], [[RIGHT()]], [[STR()]], [[STRZERO()]], [[SUBSTR()]], [[TYPE()]], [[VAL()]], [[VARTYPE()]] | [[ATOH()]], [[CHR()]], [[ETOS()]], [[HTOA()]], [[LEFT()]], [[RANK()]], [[RIGHT()]], [[STR()]], [[STRZERO()]], [[SUBSTR()]], [[TYPE()]], [[VAL()]], [[VARTYPE()]] | ||
− | |||
==Description== | ==Description== | ||
The ASC() function returns the numeric value of the first ASCII character from the character expression <expC>. | The ASC() function returns the numeric value of the first ASCII character from the character expression <expC>. | ||
− | |||
==Example== | ==Example== | ||
Line 26: | Line 22: | ||
N | N | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== |
Revision as of 11:27, 11 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