Soo... Barbara's post came up first.  I made a little mistake that makes the
code below useless.  Moral of the story is never rely on memory.  I forgot
that a C character is an integer type.  I guarantee unexpected results from
the code below.  I've tested it.  It runs.  It gives results.  You may or
may not like them.

> -----Original Message-----
> From: Joel Fritz []
> Sent: Wednesday, January 23, 2002 1:38 PM
> To: ''
> Subject: RE: isalpha
> If I recall, isalpha() tests one character at a time.
> I think the prototype should look something like this (I
> didn't test it):
>      d isalpha         pr            10i 0 extproc('isalpha')
>      d  testchar                      1    value
> If the character is alphabetic, the function will return 1,
> otherwise 0.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.