JavaScript Editor js editor     Web development 



Main Page

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.

Return Value

Logical

Remarks

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

Example

В Copy 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.

See Also



JavaScript Editor js editor     Web development 
R7