Links are not active on this page.
 ISALPHA( ) Function

Determines whether the leftmost character in a character expression is alphabetic.

ISALPHA(cExpression)

Parameters

cExpression

Specifies the character expression that ISALPHA( ) evaluates. Any characters after the first character in cExpression are ignored.

Expand imageReturn Value

Logical

Expand imageRemarks

ISALPHA( ) returns true (.T.) if the leftmost character in the specified character expression is an alphabetic character; otherwise ISALPHA( ) returns false (.F.).

Expand imageExample

 CopyCode imageCopy Code
CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'Data\testdata')
USE Customer     && Open customer table
CLEAR 
DISPLAY contact
? ISALPHA(contact)  && Displays .T.
DISPLAY maxordamt
? ISALPHA(cust_id)  && Displays .F.

Expand imageSee Also