Difference between revisions of "ISALPHA()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
String Data
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to test for an alphabetic character
 
Function to test for an alphabetic character
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[ISLOWER()]], [[ISUPPER()]], [[LOWER()]], [[UPPER()]]
+
[[ISDIGIT()]], [[ISLOWER()]], [[ISUPPER()]], [[LOWER()]], [[UPPER()]]
  
  
Line 33: Line 29:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 14:53, 22 July 2010

Purpose

Function to test for an alphabetic character


Syntax

ISALPHA(<expC>)


See Also

ISDIGIT(), 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, Recital Server