Difference between revisions of "ISALPHA()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 36: Line 36:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:String Data]]
 +
[[Category:String Data Functions]]
 +
[[Category:Expressions and Type Conversion]]
 +
[[Category:Expressions and Type Conversion Functions]]

Revision as of 15:54, 2 June 2009

Class

String Data


Purpose

Function to test for an alphabetic character


Syntax

ISALPHA(<expC>)


See Also

ISLOWER(), ISUPPER(), LOWER(), UPPER()


Description

The ISALPHA() function returns .T. if the first character of the character expression <expC> is alphabetic (i.e. lies within A-Z or a-z).


Example

store "965.23" to value
// If alpha assign 0
if isalpha(m->value)
    value = 0
else
    // convert to numeric
    value = val(m->value)
endif


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer