Navigation:  Reference > Functions >

IsCharNumber()

Print this Topic Previous pageReturn to chapter overviewNext page

 

ISNUM(1)

 

PURPOSE

This function will determine whether the first character of a field is a numeric character (0-9), or something else.

 

PARTS

 

1 f/c/eRequired - Field to check, must be of type A.

 

RETURN TYPE - L

If the first character is from 0-9, the function will return .T., otherwise .F.

 

SEE ALSO

ISAL(), ISLO(), ISUP()

 

EXAMPLE

define x type a size 10

define y type l

x = 'x10'

y = isnum(x)

// y = .F.

 

x = '10x'

y = isnum(x)

// y = .T.

 

 


Page url: http://www.cassoftware.com/tas/manual/ischarnumber().htm